reciving variables from a select
Posted: Mon Jul 12, 2004 7:19 am
i have this form :
what i do is this :
the changes his selection on the select box!
and then in the function wait4Approve() i amopning a window that asks for user name and password.
when i enter a valid user name and password a function that called :
approved() is being called from the open window,
and in this function i submit the above code :
the thing is that in the QUERY_STRING of the server variables i see
not the selected in dex but the user name and password of the opened window!!!?!?!?!?!?
what is that?
what to do?
thnaks in advance
peleg
Code: Select all
<FORM id=frmCloseWeight1 name=frmCloseWeight1 method=post>
<TD><SELECT onchange="wait4Approve('frmCloseWeight1');" name=endStatus><OPTION value=1 selected>השקילה הסתיימה?</OPTION><OPTION value=2>סגור</OPTION></SELECT> </TD></FORM>
<TD> </TD></TR>what i do is this :
the changes his selection on the select box!
and then in the function wait4Approve() i amopning a window that asks for user name and password.
when i enter a valid user name and password a function that called :
approved() is being called from the open window,
and in this function i submit the above code :
Code: Select all
document.getElementById(valFrmCloseWeight).submit();the thing is that in the QUERY_STRING of the server variables i see
not the selected in dex but the user name and password of the opened window!!!?!?!?!?!?
what is that?
what to do?
thnaks in advance
peleg