ksridhar69
09-23-2002, 02:47 AM
I want to call a function with in a function. I need settimeout to the inner function. But it is giving error
function mainfunction(sub)
{
//it is doing some operations
SetTimeout("callfunction(sub)",2000)
}
But it is giving error at SetTimeout . The "sub" is passing to the mainfunction. But it is not recognizing the inner sub. IS there any error
function mainfunction(sub)
{
//it is doing some operations
SetTimeout("callfunction(sub)",2000)
}
But it is giving error at SetTimeout . The "sub" is passing to the mainfunction. But it is not recognizing the inner sub. IS there any error