[whatwg] XMLHttpRequest send with nodes, documents and documentFragments

Hallvord Reiar Michaelsen Steen hallvord at hallvord.com
Tue Jan 31 03:15:51 PST 2006


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/





More information about the whatwg mailing list