Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Objects
Button Object
PROPERTY: Button::form
button.
form
This property returns a reference to the
Button
object's parent
Form
.
The following code dispays the name of the
Button
object's parent
Form
when it is clicked and assumes, for the purposes of this example, that the
Form
is called "myForm".
Code:
<INPUT NAME="myButton" TYPE="button" VALUE="Form name?" onClick= "document.write (document.myForm.myButton.form.name)">
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information