N
News
I am trying to discover what I am doing incorrectly here.
<snippet>
function not_Working(me)
{
//do something;
setTimeout("not_Working(me)",1500);//use variable
}
function Working(me)
{
//do something;
setTimeout("not_Working(3)",1500);//use constant
}
</snippet>
Why will setTimeout not work if I try to pass a variable in the function
call?
<snippet>
function not_Working(me)
{
//do something;
setTimeout("not_Working(me)",1500);//use variable
}
function Working(me)
{
//do something;
setTimeout("not_Working(3)",1500);//use constant
}
</snippet>
Why will setTimeout not work if I try to pass a variable in the function
call?