Hi all -
I'm trying to emulate a sleep function in javascript. I know of this
method for example:
window.setTimeo ut("function1() ;", 500);
However, I was wondering if there was a way to call the function with a
parameter, for example:
window.setTimeo ut("function1(s tring1);", 500);
This gives me a javascript error. Any help will be greatly
appreciated. Thanks in advance.
I'm trying to emulate a sleep function in javascript. I know of this
method for example:
window.setTimeo ut("function1() ;", 500);
However, I was wondering if there was a way to call the function with a
parameter, for example:
window.setTimeo ut("function1(s tring1);", 500);
This gives me a javascript error. Any help will be greatly
appreciated. Thanks in advance.
Comment