Javascript Wait and pause
Posted
by Ajith
on Stack Overflow
See other posts from Stack Overflow
or by Ajith
Published on 2010-04-16T06:40:36Z
Indexed on
2010/04/16
6:43 UTC
Read the original article
Hit count: 302
JavaScript
I need to execute a function in javascript named demo() and sample() optionally.ie,first my program will wait for 5 seconds to execute demo(); if it is fail to start demo with in 5 seconds i need to execute sample() automatically (from javascript).is it possible to do in javascript?Please help me....Thanks
© Stack Overflow or respective owner