jQuery selector not working in IE7-9
I have this simple code:
- var data = $('<xml><customtag>If you see this it worked!</customtag></xml>');
- alert(data.children('customtag').html() || "This time it failed");
I can't figure out why this wont work in older IE versions.
I tried to call
data.children() <-- without selector works in IE8
) <--Does not work for me in IE8
Thanks for any insights!