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

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -