I don't know...
rahul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Maninder, Singh
Sent: Tuesday, October 18, 2005 1:19 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] responseText Vs responseXML
Thanks Rahul.
But, how
ahul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Maninder, Singh
Sent: Tuesday, October 18, 2005 1:19 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] responseText Vs responseXML
Thanks Rahul.
But, how can I get the server to r
Thanks Rahul.
But, how can I get the server to return content-type of text/xml?
I just have a rss file placed on the server that I am trying to call into my
page and parse it.
--
I think the response needs to come back from the server with a
content-type of text/xml (rather than text/html) in order to fill in the
responseXML for you.
You can't use getElementsByTagName with responseText because it is just
text, not a parsed and loaded DOM tree.
Hope that helps...
rahul