.find of an xml text doen't work in IE
Hi, I'm prety new to jQuery and in the ready function, I do the following:
- var testdata = '<?xml version="1.0" encoding="UTF-8"?><menu><menuitem title="Accueil">data/page_de_garde.html</menuitem></menu>';
- alert($(testdata).find("menuitem").text());
It is quite simple and works with both firefox and chrome.
Unfortunately, IE8 display an empty alert box.
Any idea?
Note: I also tryed .find("\\menuitem") and .find("\\:menuitem")