[jQuery] Re: Reading XML elements with CDATA

2008-09-29 Thread russellneufeld
Hey dan_nl, You were right to point me in the direction of the content type. Turns out I wasn't setting the content type of the http response to text/xml, so jQuery was interpreting my response as html. A lot of other things were working, but since CDATA isn't valid in html, jQuery was probabl

[jQuery] Re: Reading XML elements with CDATA

2008-09-28 Thread dan_nl
You might need to make sure you're specifying the type for the $.post. http://docs.jquery.com/Ajax/jQuery.post#urldatacallbacktype

[jQuery] Re: Reading XML elements with CDATA

2008-09-28 Thread Jay
The issue here is that there is no text in the node. The '<' and '>' are reserved in XML, they create nodes in XML. I haven't tried this, but you might want to try grabbing the .html() of the node. If you really want to gab the text you'd have to move all the way down to the td node and grab