摘要: jQuery get()和post()方法及比较 1,jQuery $.get() 方法 $.get() 方法通过 HTTP GET 请求从服务器上请求数据。 $("button").click(function(){ $.get("test.php",function(data,status){ 阅读全文
posted @ 2020-04-13 22:54 学无边涯 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 1,load()语法 $(selector).load(URL,data,callback); 2,load()实例 $("button").click(function(){ $("#div1").load("demo_test.txt",function(responseTxt,statusTx 阅读全文
posted @ 2020-04-13 22:49 学无边涯 阅读(568) 评论(0) 推荐(0) 编辑