02-23-2007, 11:20 PM
Hi Mike thanks for the reply...
The delay is not due to while loop in java script. As the SOAP response is received, in FF the xml nodes having data greater thn 4096 bytes was getting divided.
SOAP response :- <element>(data > 4096)</element>
FF alters it into :- <element>(data == first 4096 bytes of data)</element>
<element>(data == next 4096 bytes of data)</element>
.................. This continues till the data ends
I replaced the while loop in my earlier code with normalize function which combines all the adjacent child node values.
get_value() {
this.element.normalize;
return this.element.firstChild.nodeValue;
}
After a hard time, i found the root cause for the delay in FF which is not occurring in either Mozilla or IE.
I have got a text area in my web page, that holds the log information which can be very huge in size...
<textarea id="log"></textarea>
In java script after receiving the SOAP response i am updating the text area with the log info like this.
var loginformation = xmlDoc.get_value();
alert("Getting stuck here for few seconds");
document.getElementById("log").value = loginformation.
After displaying alert message, it is causing some delay depending upon the data size. Whereas in Mozilla or IE the problem doesn't persists...
The delay is not due to while loop in java script. As the SOAP response is received, in FF the xml nodes having data greater thn 4096 bytes was getting divided.
SOAP response :- <element>(data > 4096)</element>
FF alters it into :- <element>(data == first 4096 bytes of data)</element>
<element>(data == next 4096 bytes of data)</element>
.................. This continues till the data ends
I replaced the while loop in my earlier code with normalize function which combines all the adjacent child node values.
get_value() {
this.element.normalize;
return this.element.firstChild.nodeValue;
}
After a hard time, i found the root cause for the delay in FF which is not occurring in either Mozilla or IE.
I have got a text area in my web page, that holds the log information which can be very huge in size...
<textarea id="log"></textarea>
In java script after receiving the SOAP response i am updating the text area with the log info like this.
var loginformation = xmlDoc.get_value();
alert("Getting stuck here for few seconds");
document.getElementById("log").value = loginformation.
After displaying alert message, it is causing some delay depending upon the data size. Whereas in Mozilla or IE the problem doesn't persists...