Wawa Recommendations: how to use the timer js script justification control

  <! - Wawa Recommendations: how to use the timer js script justification control 
  SetTimeout common script is a function of its specific function used to wait until the implementation of a certain number of milliseconds, we can use it in the Home regularly to update data without refresh, and many other results, I made a small procedures to demonstrate the use of this function. 
–>
<HTML>
<HEAD>
  <SCRIPT LANGUAGE=JavaScript> 
  Var timerID; 
  Function window_onload () 
  ( 
  TimerID = setTimeout ( "alert ( 'time !')", end of 3000); 
  Alert ( "time began \ n (3 seconds)"); 
  ) 
  Function butStopTimer_onclick () 
  ( 
  ClearTimeout (timerID); 
  Alert ( "time been cleared"); 
  ) 

  </ SCRIPT> 
  </ HEAD> 
  <BODY LANGUAGE = JavaScript onload="window_onload()"> 
  <FORM NAME=form1> 
  <INPUT TYPE = "button" VALUE = "clearance time" NAME = = JavaScript butStopTimer LANGUAGE 
  Onclick = "return butStopTimer_onclick ()"> 
  </ FORM> 

  </ BODY> 
  </ HTML> 

Bookmark it: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Google
  • DotNetKicks
  • DZone
  • Furl
  • Netvouz

Tags:

Releated Articles


0 Comments to “Wawa Recommendations: how to use the timer js script justification control”

No Comments. Send your comment.

Leave a Reply

You must be logged in to post a comment.