实例
$("button").click(function(){
$.post("/try/ajax/demo_test_post.php",
{
name:"菜鸟教程",
url:"http://www.runoob.com"
},
function(data,status){
alert("数据: \n" + data + "\n状态: " + status);
});
});
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2233/viewspace-3137759/ ,如需转载,请注明出处,否则将追究法律责任。