View Single Post
  #2 (permalink)  
Old May 31st, 2008, 05:55 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Not 100% sure what you want but setTimeout returns an integer, you can save this id and call clearTimeout(id) to prevent the function from starting. This doesn't stop it in mid call though, just stops it kicking off.

--

Joe (Microsoft MVP - XML)
Reply With Quote