[Project_owners] finding the <form/> of an <input/>

Wladimir Palant trev at gtchat.de
Tue Mar 21 21:21:37 EST 2006

Eric H. Jung wrote:
> Given an <input/> field, I'm trying to determine the <form/> in which it's contained. I've written
> this recursive function:

How about...

> findForm : function(node) {
>   return node.form;
> },


More information about the Project_owners mailing list