Thanks Mike,
By "Properly handles" I mean that it processes the data. If you look at the example code I provided, you'll see that the script pulls submitform.php, which would clearly indicate scripting support. But that really makes no difference in terms of the question that I'm asking.
What I'm doing is simple...
1) The user selects an item from the dropdown menu, and clicks submit.
2) The selected item is sent to a script.
3) The script tells the visitor "thanks" and uploads the data to the server.
Steps #1 and #3 are finished - they work great. The only thing I'm stuck on is how to let the script know which item has been selected.
So... the form currently looks like this:
Code:
<form id="form1" name="form1" method="get" action="javascript:submittopage('submitform.php', '1');">
and I essentially need it to look like this:
Code:
<form id="form1" name="form1" method="get" action="javascript:submittopage('javascript:submittopage('submitform.php?option=(which ever form item was selected)', '1'); ">
It would be easy for me to assign the value for "option" if I were using php, but this needs to be client side, and automatically update the form when either the dropdown item is selected or the form is submitted.
Thanks for all your help.
Bookmarks