2007-05-30

[Note] Ajax Post

var req = createAjaxRequest();
// ...
var postBody = "aaa=111&bbb=222";
req.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
req.setRequestHeader("Content-length", postBody.length);
req.send(postBody);

1 則留言:

  1. I found this site using [url=http://google.com]google.com[/url] And i want to thank you for your work. You have done really very good site. Great work, great site! Thank you!

    Sorry for offtopic

    回覆刪除