W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] XMLHttpRequest send with nodes, documents and documentFragments

From: Hallvord Reiar Michaelsen Steen <hallvord@hallvord.com>
Date: Tue, 31 Jan 2006 20:15:51 +0900
Message-ID: <43DFC577.5283.39AB4D29@hallvord.hallvord.com>
The spec states that passing a document as an argument to the 
XMLHttpRequest send method sends a serialized version to the server. 
I would like this to include support for passing any node to the send 
method, including document fragments. This seems like a very useful 
thing to allow. For example, you can do

request.send( document.getElementById('userdata') );

or send custom DOMs created with document fragments.

This is already implemented in Opera.
-- 
Hallvord Reiar Michaelsen Steen
http://www.hallvord.com/
Received on Tuesday, 31 January 2006 03:15:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC