M
MarsVoyager
Hi,
I want to change the value of a submit button when the onChange event is
fired by a Radio Input.
Problem is, it seems the value is modified in the gui only when the Radio
Input looses focus, not when its value is changed by the user.
How can I make the value on the submit button change immediately upon action
on the radio input and not when focus changes ?
Thanks...
--- bits of code : html ---
<INPUT TYPE="RADIO" NAME="CFGWEB01" onChange="comboChange('CFGWEB01')" VALUE
= "ASGes">
<input type="submit" name="submit" value="1st value">
--- js ---
document.forms[0].submit.value='Other value';
I want to change the value of a submit button when the onChange event is
fired by a Radio Input.
Problem is, it seems the value is modified in the gui only when the Radio
Input looses focus, not when its value is changed by the user.
How can I make the value on the submit button change immediately upon action
on the radio input and not when focus changes ?
Thanks...
--- bits of code : html ---
<INPUT TYPE="RADIO" NAME="CFGWEB01" onChange="comboChange('CFGWEB01')" VALUE
= "ASGes">
<input type="submit" name="submit" value="1st value">
--- js ---
document.forms[0].submit.value='Other value';