Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Acknowledgement from Browser


Message #1 by "Deepak Kumar Vasudevan" <deepak@c...> on Wed, 24 Apr 2002 09:27:33 +0530
 Hi,
	Ok thanks for your information but I am generating the (document.write)
 statement using loop only from from 1 to 10240 .
 
 But My problem is that browser should say that it started printing in client's
 browser with an acknowledgement and also when it has finished it should say 
 that it has ended printing in client's browser with an acknowledgement to my 
 javascript program.

 I am capturing start time before the for loop and end time after the for
 loop is finished.	

 I have done already using php script, but I am not able to get acknowledgement
 to php script from Browser that it started printing and ended printing.

 Please help me to solve this problem,

 Bye & Regards,
 S.Arun Srinivasan.

---------- Forwarded message ----------
Date: Wed, 24 Apr 2002 09:27:33 +0530
From: Deepak Kumar Vasudevan <deepak@c...>
To: JavaScript HowTo <javascript_howto@p...>
Cc: arun@o...
Subject: Acknowledgement from Browser

Hi,

     At the outset, I would like to clarify that if the number of lines is
whoppingly high, you may resort to some serverside intervention, since some
client browsers with challenged infrastructure like less memory and more
processes running might get freezed for a while.

     You may have a global JavaScript variable for this purpose, which can
be flagged to some value at the start of function containing the print
(document.write) statements.  The same variable may be flagged to some other
value at the end of the said function.

Deepak Kumar Vasudevan
deepak@c...






  Return to Index