A very common behavior in Ajax applications is to wrap the data in XML in the background and return it to the browser. The browser parses the XML and gets nodeValue
. If the content in a single node is very long (more than 4096 bytes), then Please note that in FireFox/Mozilla, the content will be decomposed into multiple textNodes by FrieFox, each with a size of 4096 bytes. This situation can be handled with the following functions (IE compatible)