Javascript variable inside another variable -


this var create out of cookie

var exiturl = readcookie("exiturl"); 

here have exit popup script must have http://site.com script writen is:

var exitsplashpage = 'http://myexitpage.com' ; 

i want replace url my var exiturl.

thanks guys!

why not

var exitsplashpage = exiturl 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -