When a user clicks on a submit button, I need to acces all other
fields of the surrounding form. However, I cant see how to obtain the
parent form element, which I would need to call .GetElements(...) and
manipulate the input elements.

I've tried

$$('input[type=submit], input[type=button]').each(function(submitItem)
{
  submitItem.form.GetElements(...)
}

which works in FF, but not in IE. What am I doing wrong?


Best regards,

Jan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to