It's easy, see this thread: http://groups.google.com/group/jquery-en/browse_frm/thread/95718c9aab2c7483/af37adcb54b816c3?lnk=gst&q=parsexml#af37adcb54b816c3
On Feb 1, 5:56 am, "pp...@fragrance-world.net" <fragrance2...@gmail.com> wrote: > I have the following code: > > var cartXml = $("<data><carttotals><items>33</items></carttotals></ > data>"); > > alert(cartXml.find("items").text()); > > this will spit out 33 in both safari and firefox > > However in IE it does not produce anything > > Here is what I have figured out so far: > > if I change to the following: > > alert($("<div><span><p>33</items></span></p>").find("p").text()); > > this works in IE, Safari, and firefox > > it seems with IE you need to use real html tag names and not ones that > are made up. > > Does anyone know how I can fix this?