Button.form
|
|
Syntax |
document.form.button.form
|
|
The form property provides access to the button's parent Form object. |
<html> <form name="myForm"> <input type="button" value="Big Button" name="myButton"> </form> <script language="JavaScript"> <!-- if(document.myForm.myButton.form == document.myForm) alert("myButton's form property is equal to myForm object"); else alert("myButton's form property is NOT equal to myForm object"); --> </script> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|