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 wrong. How should this be done?
<p>
<input type="text" id="txtTotal" size="8"/>
</p>
<input type="hidden" name="string" value="txtTotal.getText();">
I know this is wrong. How should this be done?