- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Thu, 17 Apr 2008 12:41:02 -0500
- To: Subbu Allamaraju <subbu.allamaraju@gmail.com>
- CC: public-webapi@w3.org
Subbu Allamaraju wrote: > Have you tried? Yes. Have you? Here, just to help you out: test.xhtml: <html xmlns="http://www.w3.org/1999/xhtml" id="one"/> test.html: <script> var x = new XMLHttpRequest(); x.open("GET", "test.xhtml", false); x.send(""); alert(x.responseXML.getElementById('one')); </script> But since you're apparently not willing to test yourself (the amount of time it takes to write the test is smaller than the amount of time it takes to send all these mails), I'll just let you know that Gecko 1.8, Gecko 1.9, Safari 3.1, and Opera 9.25 all hand back the HTMLElement from that getElementById call. -Boris
Received on Thursday, 17 April 2008 17:41:46 UTC