[jQuery] IE Reports 0 children()
FF works fine, IE however reports 0 children() and I am finding it
difficult to solve.
Example XML retrieve from $.get:
<?xml version="1.0" encoding="UTF-8"?>
<letter>
<paragraph>text
<paragraph>text
</paragraph></paragraph>
<paragraph>text</paragraph>
</letter>
The code:
jQuery.get("process.asp", {job:"getLetter", letterID:letterName,
type:"xml"}, function(xml){
alert(jQuery(xml).children().length);
}
Have I got awry somewhere? Seems pretty straight forward. I've tried
removing the xml doc definition as well as the <letter> tags. IE
always reports 0 children.
Thanks,
Nick