Consider the following:
I have a PHP script on the server that generates an HTML form. It wraps it in XML, like so:
This is done because, strictly speaking, XML documents should only have one root node and my application's design states that this script will return well-formed XML. There may be more than just a form element in the response.
I know that IE would allow me to set the "innerHTML" property of my DIV to the "xml" property of my xhtml node, but the "xml" property is not supported by other browsers, so that does not help. (My reference browser is Firefox, BTW)
Ajax: HTML in responseXML: Dynamic HTML Content
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users