Jump to content

setTimeout function


thisisnuts123

Recommended Posts


function sitepop(ret_value){
var uuu = ret_value;
setTimeout("alert(uuu);", 2000);
}

 

this gives me uuu un defiend any ideas to why?

if i change this to the followingthen it works

 

 


function sitepop(ret_value){
var uuu = ret_value;
alert(uuu);
}

 

 

how can i do this with a delay??

 

thanks!!!

Link to comment
https://forums.phpfreaks.com/topic/75871-settimeout-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.