S
sonic
Hello,
I am experimenting with various ways of passing content between
javascript and server.
Originally i was performing xsl transformation with javascript, but I
noticed some performance issues when the size of the xml document was
growing too large (1000+ rows).
Now i am doing everything on the server, and passing xsl formatted
content back to javascript.
problem:
var myContent = server.getFormattedContent();
myContent.length = 400100; // etc
***************************************
myContentDiv.innerHTML = myContent;
***************************************
the brwoser will freeze for a second while that last line executes.
Is there any way to make it async ? or any way at all to get rid of
that browser freeze ?
I am also including pagination to decrease the size of document per
page, but really curious in available remedies to the problem described
above ( setting innerHTML with large content variable )
TIA
I am experimenting with various ways of passing content between
javascript and server.
Originally i was performing xsl transformation with javascript, but I
noticed some performance issues when the size of the xml document was
growing too large (1000+ rows).
Now i am doing everything on the server, and passing xsl formatted
content back to javascript.
problem:
var myContent = server.getFormattedContent();
myContent.length = 400100; // etc
***************************************
myContentDiv.innerHTML = myContent;
***************************************
the brwoser will freeze for a second while that last line executes.
Is there any way to make it async ? or any way at all to get rid of
that browser freeze ?
I am also including pagination to decrease the size of document per
page, but really curious in available remedies to the problem described
above ( setting innerHTML with large content variable )
TIA