I've been having this problem in the Chrome browser.
i use jquery's ajax post. Ajax is supposed to return a really long raw html.
When I do it in FF3 and IE8 it works fine. But in chrome the data seems to be truncated.
I've been having this problem in the Chrome browser.
i use jquery's ajax post. Ajax is supposed to return a really long raw html.
When I do it in FF3 and IE8 it works fine. But in chrome the data seems to be truncated.
As of what i know, there is limit of 4kb. However this is also browser-dependent.
It may also run into server-side size limits as well as client or server side time-out limits. Depending on the platforms and browsers these limits can be quite different for ajax requests than they are for standard browser requests too.
I would recommend that you use an iframe to contain the HTML, and use ajax to control the iframe's source. When you need to load the HTML, just have javascript point the iframe at a URL that will produce that HTML. This way you are only limited by the regular HTML request timeout and size limits, not the (sometimes) more restrictive ajax limits.
Hi,
I do not have many details about the raw HTML, but I would like to share what I found to be true in the applications I worked on:
If this is not helpful, please feel free to provide a little more information about the raw HTML
Where are you seeing the truncated response? Could it be that Chrome is trying to parse the html as xml (since it's from an xhr) and failing?