Thanks for your answer Karl, but it doesn't fix it.
Apparently somebody has also the same problem:
http://groups.google.com/group/jquery-en/browse_thread/thread/5c00ab5683645982/f0d79fa48a074622?hl=en&lnk=gst&q=xml+IE#f0d79fa48a074622


On Jun 6, 2:18 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Not sure if this is the problem, but it looks like you're missing a
> closing quotation mark for your data value:
>
> data: "&hidden=getValue", // <-- added quotation mark
>
> --Karl
> ____________
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Jun 6, 2008, at 6:57 AM, MacFly! wrote:
>
>
>
> > Hello,
> > First, I use the latest version of JQuery : 1.2.6
> > I try to get elements from xml returned by an ajax call.
> > It's works fine with FF2 but not with IE7.
> > here is my simple code :
>
> > $.ajax({             type: "POST",
> >                    url: "myURL.do",
> >                    data: "&hidden=getValue,
> >                    dataType:"text/xml",
> >                    success: function(xml)
> >                    {
> >                            alert($(xml).find("el").size());
> >                    },
> >                    error: function(error){alert("error");}
> >       });
>
> > and my xml returned from the server is :
>
> > <?xml version="1.0" encoding="utf-8"?> <node><leaf><field>ST_ID</
> > field><patterns><el>TO</el><el>DA</el></patterns></leaf></node>
>
> > size = 2 in FF2 and 0 in IE7
> > Don't know where the problem comes from, I try also  with "//el", $
> > ("el",xml).each...but no success.
> > Can someone help me with that?
>
> > Thanks for your help in advance

Reply via email to