Hi Tom,

IE is a pain again, I created a ticket for this already:

http://jquery.com/dev/bugs/bug/164/


See also here:
http://jquery.com/discuss/2006-August/010246/


John, this has been working in pre 1.0, any chance to fix this soon?



-- Klaus



Tom Poole schrieb:
> Hello,
> Sorry if this is blindly obvious, but I'm having a few problems with
> this function in IE. It works fine in the Gecko browsers, Safari and
> Opera.
> 
> The function is a simple ajax post which returns back the xml
> document. I then use the 'each' function to display the text of each
> 'yelement'. Internet Explorer's ever helpful debugger informs me that
> the 'Object doesn't support this property or method'.
> 
> Can someone tell me what is going on here? I'm not sure if I'm being
> stupid or IE is being a pain (again). Any help would be great!
> 
> 
> function ajax_post()
> {     
>       $.post("foo.php", { x: q }, function(xml){                      
> 
>               $("yelement",xml).each(function(i){             
>                       alert($(this).text()); // this doesn't work in IE.
>               });
> 
>       });
> 
> }
> 
> - Tom
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to