Hi Klaus,
I just tried $("/xmlelement/*").length. In IE I finally get a value - but
wonder what it means? I get 2 as the length.
At least this time I am getting the same response in both Firefox and IE -
FF returns 2 as well.
It should return 4 however...
<xmlelement>
<subelement1></subelement1>
<subelement2></subelement2>
<subelement3></subelement3>
<subelement4></subelement4>
</xmlelement>
____________________________________________
Matthew Delmarter
> -----Original Message-----
> From: Klaus Hartl [mailto:[EMAIL PROTECTED]
> Sent: Friday, 16 February 2007 3:55 a.m.
> To: [EMAIL PROTECTED]; jQuery Discussion.
> Subject: Re: [jQuery] getting children using XPath in IE
>
> Matthew Delmarter schrieb:
> > Hi Karl,
> > alert( $("/xmlelement").children().length );
> >
> > or
> >
> > alert( $("//xmlelement").children().length );
>
> Have you tried:
>
> $("/xmlelement/*").length ?
>
>
>
> -- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/