Q1158 Can I detect the name of the form that contains a button that has been clicked?
You are here: irt.org | FAQ | JavaScript | Form | 11 | Q1158 [ previous next ]
<form name="myName">
<input type="button" value="test" onClick="alert(this.form.name)">
</form>
©2013 Martin Webb 