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

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>

©2018 Martin Webb