Side navigation
#4881 closed bug (invalid)
Opened July 11, 2009 03:00AM UTC
Closed August 07, 2009 04:36PM UTC
Form elements removed from the object after applying $(...) to it
| Reported by: | spicausis | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
After getting form through f = $('#someform'), or e.g,
<form onsubmit="foo(this)">
function foo(some_form)
{
var f = $(some_form);
f.elements.each(.....) // f.elements undefined
}
its elements become unavailable: f.elements becomes undefined, as well as any previous members, e.g "f.bar" if there was an input name="bar".
Attachments (0)
Change History (1)
Changed August 07, 2009 04:36PM UTC by comment:1
| resolution: | → invalid |
|---|---|
| status: | new → closed |
What browser is this? There is no each() method on the form elements collection. I'll close this for now, but reopen with a test case if you have one.