Is the correct content-type set for the response? If not, setting
dataType: "xml" could help.

Otherwise, what does the response contain?

Jörn

On Sun, Sep 21, 2008 at 7:39 AM, sglai <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Following simple code does not work on my Firefox 3 and IE (Firefox 2
> and Safari are fine).
>
> $.ajax({
>        type:"GET",
>        url:"file.xml",
>        async:false,
>        success:function(xml){
>                  $("tag_in_file", xml).each(function(i){
>                       // do something;
>                  });
>        },
>        dataType:"xml",
> });
>
>
> I can see the success handler is call but when it comes to $
> ("tag_in_file", xml), it does not find it !?
>
> Thanks,
> sglai
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to