Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q607 How can you reset one field in a multi-field form without reseting the remaining fields?

You are here: irt.org | FAQ | JavaScript | Form | Q607 [ previous next ]

Try:

<form>
...
<input type="text" name="theTextField">
...
<input type="button" value="reset one" onClick="this.form.theTextField.value='';">
</form>

Feedback on 'Q607 How can you reset one field in a multi-field form without reseting the remaining fields?'

©2018 Martin Webb