sounds like an encoding problem ... for me IE often stops working if
everyting is utf-8 and
i also declare the reponse to be utf-8 encoded. if i remove the
encoding on the response
it works fine in IE, too

On Mon, Jan 26, 2009 at 4:08 PM, Patrick <patr...@clickfactor.nl> wrote:
>
> I am loading some XML:
>
>            new Ajax.Request(this.options.url, {
>                method: 'post',
>                parameters: '&r=hl&f=' + $F(this.textbox),
>                onSuccess:function(transport)
>                {
>                         thisObject.data = transport.responseXML;
>                         alert(thisObject.data.getElementsByTagName
> ('Locations')[0].childNodes.length);
>                }
>             });
>
> In Firefox I am getting a good result on the alert, in IE it returns
> zero.
>
> When I am loading the responseText from transport into Xmldoc it
> retruns a good result:
>
> // testing result for IE
> xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
> xmlDoc.loadXML(transport.responseText);
>
> alert(xmlDoc.getElementsByTagName('Locations')[0].childNodes.length);
>
>
>
> Any suggestions?
>
> >
>



-- 
Lars Schwarz
Heiligengeiststr. 26
26121 Oldenburg
T 0441 36110338
M 0151 1727 8127
W www.bitrocker.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to