Get parent form node
Greetings, Is there a way for me to get to the parent <form> node from an element node?
<input id="myinput" type="text" value="myval" />
var myinput = document.getElementById('myinput');
//can I get a hold of <form id="frm1"> using myinput?
Did you try
EDIT: maybe this will help
form elements all have a form property, which refers to their containing form.
Note that you can't include a form in another form.
mrhoo, that's what I'm looking for. thanks.