Problem with XmlHttpRequest
2 posts in topic
Flat View  Flat View

Posted By:   sri_ravi
Posted On:   Monday, June 5, 2006 09:57 PM


I am having problem with XmlHttpRequest.
when i try to alert xmlhttprequest.responsexml, it either displays a blank or [object] but it returns the xml when i try to alert xmlhttprequest.responsetext.

I have set the content type of response in the servlet as text/xml. and also included the xml prologue.
Also, i am using Internet explorer version 6.0 (Even validation for IE and Mozilla browsers is working fine.)

Thanks in advance.

Re: Problem with XmlHttpRequest

Posted By:   kapil_garg  
Posted On:   Wednesday, June 7, 2006 04:42 AM

check your code well. There are tons of smaple code for that and I amsure you would find your anser on it.

Re: Problem with XmlHttpRequest

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, June 6, 2006 07:13 AM

That's because responseXML is not textual information in the normal way of thinking... it is a collection of nested objects that you must access using methods and properties, so just dumping the "value" of that object doesn't necessarily mean anything.
About | Sitemap | Contact