PDA

View Full Version : pass variables


alaios
02-13-2003, 07:40 AM
here is my code
var hello=2000;
window.open(http://www/helpme.com?hello)

i want to see this location in the new
window
http://www/helpme.com?2000
buts this does not work
i can see this http://www/helpme.com?hello
how can i pass the value of a variable?

glenngv
02-13-2003, 08:53 AM
var hello=2000;
window.open('http://www/helpme.com?'+hello)

beetle
02-13-2003, 03:45 PM
Or something like this (http://www.codingforums.com/showthread.php?s=&threadid=11802&highlight=getvars)