Element.form Property
Name
Element.form Property---the Form containing the element
Navigator 2.0, Internet Explorer 3.0
The form property of a form element is a
read-only reference to the Form object that contains the specified
element.
The form property allows the event handlers of
one form element to easily refer to "sibling" elements in the same
form. When an event handler is invoked, the
this keyword refers to the form element for
which it was invoked. Thus, an event handler can use the
expression this.form to refer to the form that
contains it. From there, it can refer to sibling elements by
name, or it can use the elements[] array of the
Form object to refer to them by number.
Element.focus()
Element.length
file: /Techref/language/java/script/definitive/refp_104.htm,
4KB, , updated: 2019年10月14日 16:00, local time: 2025年9月21日 13:18,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/language/java/script/definitive/refp_104.htm"> [Chapter 21] Reference: Element.form</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.