I'm trying to pass multiple values when a user selects one option is a select menu. This would be the wrong version:
<select name="wrong">
<option>Select one</option>
<option value="bob" value2="dole">1</option>
<option value="george" value2="bush">2</option>...
I'm new to forms/javascript and I need to have a value in a value in a form get text (mirror) from a value in a text field. This is the code I have currently:
<p>
<input type="text" id="txtTotal" size="8"/>
</p>
<input type="hidden" name="string" value="txtTotal.getText();">
I know this is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.