I honestly can't duplicate this bug - I've tried it multiple times, on
multiple pages - can you put up a test page  so that I can confirm
this?

--John

On 8/25/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> It seems to depend on the '>':
>
> $('#someId').find('>ul') causes the same error, but
>
> $('#someId').find('ul') does not!
>
>
> And another thing:
>
> $('#someId').find('ul')[0] returns #someId, if no <ul> was found. Is
> that by intention? Shouldn't it return undefined?
>
>
> -- Klaus
>
>
>
> Klaus Hartl schrieb:
> > Hi,
> >
> > with revision 226 Firefox throws an error 'elem has no properties' if I
> > use the following snippet:
> >
> > $('#someId>ul').size() or
> > $('#someId>ul')[0]
> >
> > if element #someId does not contain a <ul>.
> >
> > Can someone second this?
> >
> >
> > Regards, Klaus
> >
> > _______________________________________________
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
John Resig
http://ejohn.org/
[EMAIL PROTECTED]

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to