[jQuery] Re: $(some_form.elements).length==1

2008-01-14 Thread XASD
Thanks a lot,it seems $.each()/map has similar problem with generic js Array. On Jan 11, 7:54 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > XASD schrieb:> It seems "form.elements" is not enumerable in JQuery,why? > > Thats a bug:http://dev.jquery.com/ticket/2114 > > You can work around it by do

[jQuery] Re: $(some_form.elements).length==1

2008-01-11 Thread Jörn Zaefferer
XASD schrieb: It seems "form.elements" is not enumerable in JQuery,why? Thats a bug: http://dev.jquery.com/ticket/2114 You can work around it by doing this: $([]).add(some_form.elements) Jörn