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>
©2018 Martin Webb