pass multiple parameters to new window

admin

Administrator
Staff member
hey everyone,

i havent had much experience with javascript, so im not quite sure what to do here... here is what im trying to do: i have a form with multiple variables which i am trying to pass to a separate page, and i can get it to submit properly when the page that recieves the variables replaces the one in the same window. when i try to make it open in a different window using a javascript function, it will not pass my extra parameters...any suggestions?

here is an example of what im trying to do...

<form name='myform' action='preview.cgi'>
<input type='submit' name='preview' value='http://www.webdeveloper.com/forum/archive/index.php/Preview Page'>
<input type='hidden' name='v1' value='http://www.webdeveloper.com/forum/archive/index.php/$var1'>
<input type='hidden' name='v2' value='http://www.webdeveloper.com/forum/archive/index.php/$var2'>
</form>

thanks,

dj
 
Back
Top