8K boundary with innerHTML?
1 posts in topic
Flat View  Flat View

Posted By:   Ian_Glover
Posted On:   Thursday, September 7, 2006 06:15 AM

I am attempting to load a large amount of data retrieved via AJAX into a DIV using innerHTML.

The data is a fully formatted table and works fine when loaded directly from the server. When attempting to load it into the DIV line breaks are added every 8192 characters(8kb), causing tags to break. They are not present in the data prior to insertion into the DIV, and seem to be created as a by-product of the insertion. The problem occurs in both Firefox 1.5 and IE 6.

Does anyone know a solution to this problem?



Re: 8K boundary with innerHTML?

Posted By:   pire_naq  
Posted On:   Thursday, September 7, 2006 06:45 AM

there might be something wrong with the source code... I'm currently loading around 280kb of innerHTML and no probs like yours.
About | Sitemap | Contact