Sep 30, 2008 #1 pkailas Programmer Jun 10, 2002 555 US In VB you can put "stop" in place to halt code. Is there a way to do this with Javascript? _______ I love small animals, especially with a good brown gravy....
In VB you can put "stop" in place to halt code. Is there a way to do this with Javascript? _______ I love small animals, especially with a good brown gravy....
Sep 30, 2008 #2 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB No, there is not. Your best bet is to roll your own using a timer (setTimeout / setInterval). Avoid using tight loops without a timer, as it will lead to browsers locking up. Hope this helps, Dan Coedit Limited - Delivering standards compliant, accessible web solutions [tt]Dan's Page [blue]@[/blue] Code Couch http://www.codecouch.com/dan/[/tt] Upvote 0 Downvote
No, there is not. Your best bet is to roll your own using a timer (setTimeout / setInterval). Avoid using tight loops without a timer, as it will lead to browsers locking up. Hope this helps, Dan Coedit Limited - Delivering standards compliant, accessible web solutions [tt]Dan's Page [blue]@[/blue] Code Couch http://www.codecouch.com/dan/[/tt]