j0sh
12-06-2002, 09:29 PM
Ok, i've got this issue with a script im making i'll try to explain it as best as I can.
There is a form on my page named "theform"
inside this there is in input field called "input_val" which is either a 0 or a 1
i have a link to a pop up
<a href="Javascript:openWindow('popup.php','win_name_here','resizable=yes,width=250,height=195')">
Now what i want to do is change the link from popup.php to popup.php?val=(THE VALUE OF input_val HERE)
so something like
<a href="Javascript:openWindow('popup.php?val=document.theform.input_val.value'','win_name_here','resizable=y es,width=250,height=195')">
is what i tried, but instead of it putting the value it just puts document.theform.input_val.value
any help you guys could provide would be greatly appreciated.
Thank you
Josh
There is a form on my page named "theform"
inside this there is in input field called "input_val" which is either a 0 or a 1
i have a link to a pop up
<a href="Javascript:openWindow('popup.php','win_name_here','resizable=yes,width=250,height=195')">
Now what i want to do is change the link from popup.php to popup.php?val=(THE VALUE OF input_val HERE)
so something like
<a href="Javascript:openWindow('popup.php?val=document.theform.input_val.value'','win_name_here','resizable=y es,width=250,height=195')">
is what i tried, but instead of it putting the value it just puts document.theform.input_val.value
any help you guys could provide would be greatly appreciated.
Thank you
Josh