Hi,

I have an jquery-ajax-enabled javascript script that runs just fine in
FireFox.

However, in IE 6, my script is failing.

My ajax request returns the following string and passes it to a
function to be processed.  The string returned is:

<?xml version=\"1.0\"?>
<response>
   <url>some valid url here</url>
</response>

This string is being constructed and returned properly to my jquery-
enabled
javascript.  I pass it to a handler function as an argument called
xml.
(This string displays properly in alert boxes called from within the
handler function.)

Inside the handler function, I get at the url with the following
jquery code:

var result = $("url", xml).text();

In Firefox, this works just fine and assigns the text of the url to be
the value of
the variable result as desired.

In IE6, the variable result does not get assigned the text inside the
<url></url>
tags as expected.

Does anyone know about this bug and how to fix it in IE?

Thanks in advance for any help with this seemingly basic problem.

P.S. Aside:  I will also offer up this tidbit.  In my version of IE6,
I cannot even view
the Main Page of the Documentation for www.jquery.com properly.  In
IE6
(slightly different installations of IE6 on 3 different computers) the
contents of the
Main Page for Documentation on the jquery site are blank.

Reply via email to