Problem with reading jQuery XML in IE
It works in Chrome and Firefox but not IE! I really hate IE sometimes. I have tested this with IE 9.
Essentially I have an XML formatted string:
var xmlData = '<?xml version="1.0" encoding="ISO-8859-1"?><details><test>hello</test></details>';
I am then trying to access this string using:
window.alert($(xmlData).find('test').text()); And returned is nothing. What am I doing wrong? The same code works fine on Chrome.