What version of jQuery - and if you're using jQuery 1.2, do you have
the XPath plugin included?

--John

On 9/11/07, Giant Jam Sandwich <[EMAIL PROTECTED]> wrote:
>
> $("//hooks/errors/error",data);
>
> If my XML contains an error node, everything is okay. If it does not
> contain an error node, I get the following error:
>
> "Error: d[i].getElementsByTagName is not a function"
>
> Shouldn't it just return null?
>
> Thanks.
>
> Brian
>
>

Reply via email to