this one's odd.
this works:

 $('comments>comment:eq('+i+')',xml).each(function(){
            responses[i][$(this).attr("NAME")] = $(this).text();
 });

but this doesn't:

 $('comments>comment:eq('+i+')>',xml).each(function(){
            responses[i][$(this).attr("NAME")] = $(this).text();
 });


the only difference being the extra ">" in the selector


 $('comments>comment:eq('+i+')',xml)
 $('comments>comment:eq('+i+')>',xml)

i need to access the child elements. this works fine in firefox. in ie
i get this error

Line: 19
Char: 222
Error: Object doesn't support this property or method
Code:0
etc

and then is rightfully throws other "undefined" errors from lines in
my own code, since the selector failed.
any ideas?

Reply via email to