W3C home > Mailing lists > Public > public-webapi@w3.org > April 2008

Re: [XMLHttpRequest] Comment on the example in Section 1

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 17 Apr 2008 12:41:02 -0500
Message-ID: <48078BAE.9010707@mit.edu>
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:


<html xmlns="http://www.w3.org/1999/xhtml" id="one"/>


var x = new XMLHttpRequest();
x.open("GET", "test.xhtml", false);

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.

Received on Thursday, 17 April 2008 17:41:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:26 UTC