> Actually in this case parents('form') of the clicked object does not
> include the form tag itself and I believe it's due to the poor html
> structure. I just tested this out.

It's tough to script on back markup.  Different browsers will do
different things in an attempt to figure out what you really meant.
You can always get to the parent form of an input by accessing the
input's 'form' property.

var form = inputDomElement.form;

Reply via email to