jquery使用post方法提交数据实例
2016-06-27来源:

代码如下:

<!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>

推荐信息
Baidu
map