Re: "prototype.js" & responseXML
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: "prototype.js" & responseXML

From: David C. Wilson <David.Craig.Wilson@gmail.com>
Date: Thu Feb 02 2006 - 16:48:11 CET

I seem to remember something about responseText being populated on
Content-type: text/html responses and responseXML being populated on
text/xml responses.

You can either set the content type from the server (php has a "header"
function) or you can override it at the client. See details at the
link. Please post back here if it worked for you. Also where is the
Ajax object defined?

http://developer.mozilla.org/en/docs/AJAX%3AGetting_Started
Received on Tue Feb 7 21:31:29 2006