|
|
Q359 Why can't I set the form values to some setting other than their default setting when using a forms onReset event handler?
irt.org | Knowledge Base | JavaScript | Form 9 | Q359 [ previous next ] Q359 Why can't I set the form values to some setting other than their default setting when using a forms onReset event handler?Because the code invokde by the onReset event handler is performed before the form is reset - hence undoing any changes you make to the form yourself. Use a timer to set the form field values *after* the form has been reset:
Feedback on 'Q359 Why can't I set the form values to some setting other than their default setting when using a forms onReset event handler?' |
-- div -->
|