Bug Tracker

Opened 14 years ago

Closed 13 years ago

#4881 closed bug (invalid)

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:


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".

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.