Skip to main content

jQuery get() 方法

发送一个 HTTP GET 请求到页面并取回结果:

$("button").click(function(){
$.get("/try/ajax/demo_test.php",function(data,status){
alert("数据: " + data + "\n状态: " + status);
});
});