ronaldmacdonald
MIS
How can I pass the value of a selected option in a submit statement to a input statement. Im despairing!
Example:
<select name=columnselect>
<option value="Select a search column">Select a search column
<option value="cust number">customer number
<option value="customer name">customer name
</select>
<input type=text selectedcolumn=value from selection onkeyup="do something">
I want to use the selected option as a filter to search a table column but cant seem to set "selectedcolumn" to the chosen option value!
Thanks in advance
Example:
<select name=columnselect>
<option value="Select a search column">Select a search column
<option value="cust number">customer number
<option value="customer name">customer name
</select>
<input type=text selectedcolumn=value from selection onkeyup="do something">
I want to use the selected option as a filter to search a table column but cant seem to set "selectedcolumn" to the chosen option value!
Thanks in advance