<!DOCTYPE html>
<html>
<head>
<script src="js/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("button").click(function(){
$.post("demo_test_post.asp",
{
name:"Donald Duck",
city:"Duckburg"
},
function(data,status){
alert("Data: " + data + " Status: " + status);
});
});
});
</script>
</head>
<body>
<button>发送POST数据并获取返回结果</button>
</body>
</html>
更多信息请查看IT技术专栏