Quantcast
Channel: jQuery.get(): Trying to retrieve feed, but XML tags are lost - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by Jay Are for jQuery.get(): Trying to retrieve feed, but XML tags are lost

$
0
0

Try returning the node, and not the text...

$.get('http://url.to/feed', function(feed) {    data = $(feed).find('item:first');     $('#testbox').html(data);}, 'xml');

Viewing all articles
Browse latest Browse all 5

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


TYKEMA GLEATON


The Conjuring 2 (Tamil Dubbed)


Woman stabbed 12 times and dumped in ditch


Moondru Mudichu 07-06-2016 – Polimer tv Serial


Trio remanded on gun, other serious charges


Rick Ross & Etana – Kiss Of Judas – Single [iTunes Plus M4A]


The 6 Best Sex Scenes in Nollywood Movies


Take this week's NJ.com Local News Quiz


Angeline Yap kym?



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>