Javascript Reference
Categories: TEXTAREA

javascript TEXTAREA form

@Aug. 28, 2008, 5:32 a.m.
form Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1a  



Returns a reference to the form element that contains the current TEXTAREA element. When processing an event from this TEXTAREA element, the event handler function automatically has access to the select element (as the event object's target or srcElement property). By reading the form property, the script can easily access other controls within the same form.

var theForm = evt.srcElement.form;

form element object reference.




Under moderation.
DouglasSob - 2014-04-24
Under moderation.
AndrewPt - 2014-04-22
Under moderation.
Josephapat - 2014-04-21

Powered by Linode.