I did a test.
document.write (" This is a 30KB text...... ");
document.write ("here");
What I saw was that the whole block of 30KB text is written and the "here" is appended. So I guess the 2nd one executes after the 1st one finishs. But again since the connection speed is too high on my...
Kaht:
Thanks for your reply.
one more question:
If I put a 30kb plain text in the document.write
document.write ("<!-- This is a 30KB text...... -->");
document.write ("here");
Will the 2nd statement also get exectued no matter the 30KB completes downloaded?
I have a question regarding document.write.
In the following code segment, there are two document.write. Does the 2nd document.write get exectued after the image mypic.jpg is completely downloaded by the client? Or not?
////////////////////////////////////////////////////////////
<html>...
I am having questions of getting the client connection speed in exclusively Javascript.
I searched online some of them when user clicks a link, then pop up the connection speed.
I do not want to add any html code for getting the speed. Seems after the image finished loading,
the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.