Thank you Klaus.
Yes, my MIME was set text/xml.

1. alert($("tag", xml).get(0).text);
2. alert($("tag", xml).text());

IE: 1, 2 works
FF: only 2 works

> just putting a prolog on top will not make it xml. please check if you
> have set the correct mime type for your ajax response.
>
> with the extremely helpful extension firebug you can check what mime
> type the response is of.
>
> i don't know where the text property is from, have you tried:
>
> alert($("tag", xml).get(0).firstChild.data);
>
> or jquerish
>
> alert($("tag", xml).text());
>
>
> -- Klaus

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

Reply via email to