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/


Reply via email to