var data={'username':'eeee'};
xhr=new plus.net.XMLHttpRequest();
xhr.onreadystatechange=xhrStatechange;
var url="user_api.php";
xhr.responseType="json";
xhr.open( "POST", url );
xhr.setRequestHeader('Content-Type','application/json');
xhr.send(data);
chuanjie (作者)
我那样做了,不行啊
2014-11-19 17:00