Forum Moderators: phranque
Have a javascript question. I am using the following code to open a small pop-up to get user input:
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
function openpopup(){
var popurl="http://www.mydomain.com/edit.cgi"
winpops=window.open(popurl,"","width=350,height=175,status,resizable,")
}
That works well... no problem. But I need to pass a couple variables to edit.cgi in the process. In a form, I would just add:
<INPUT NAME="g" TYPE="hidden" VALUE="XXXXXX">
<INPUT NAME="user" TYPE="hidden" VALUE="$username">
Can I- and how do I?- add these hidden variables to be passed to the script when I open with this sort of javascript?
THANKS!
Dave