执行AJAX POST 和 GET 请求的简约JS库:minAjax.js
jopen
10年前
这个用于执行AJAX POST 和 GET 请求的简约JavaScript库。
minAjax({ url:"test.php",//request URL type:"GET",//Request type GET/POST //Send Data in form of GET/POST data:{ name:"batman", profession:"detective", worth:"Rich", company:"Wayne Enterprises" }, //CALLBACK FUNCTION with RESPONSE as argument success: function(data){ alert(data); } });