iterating through xml works fine in FF but not in IE using jquery

ecelim

New Member
\[code\](function(){var xmlString="<Family><people><title>News for Golf</title></people><people><title>News for NBA</title></people></Family>"$(xmlString).find('people').each(function(){alert($(this).html());});})(jQuery);\[/code\]The above code runs fine on FF and gives \[code\]<title>News for Golf</title><title>News for NBA</title>\[/code\]but not in IE, can anyone suggest what is the problem for IE, I need the same output as above.Also, if possible what exactly i want is \[code\] <people><title>News for Golf</title></people> <people><title>News for NBA</title></people>\[/code\]thanks,bond
 
Back
Top