JavaScript » Textarea » form

Syntax:
textarea.form

This property returns a reference to the Textarea object's parent Form.

Examples

Code:
<TEXTAREA NAME="txtArea" VALUE="This is a Textarea object"></TEXTAREA>

<script type="text/javascript">
document.write ("The parent form of this Textarea is " + document.myForm.txtArea.form.name)
</script>
Explanation:

This code dispays the name of the Textarea object's parent Form when it is clicked and assumes, for the purposes of this example, that the Form is called "myForm".