Soumis par Maxence le sam, 17/07/2010 - 23:00
goog.require("goog.Uri");
goog.require("goog.net.XhrIo");
var qd = new goog.Uri.QueryData();
qd.add('name1', 'val1');
qd.add('name2', 'val2');
function done(e) {
this.getResponseText(); // ... etc...
}
goog.net.XhrIo.send("/controller/action", done, "POST", qd.toString()); 

Poster un nouveau commentaire