摘要:
取值与赋值操作 1 $("#ID").val(); //取value值 2 3 $("#ID").val("xxx"); //赋值 4 5 $("#ID").text(); //相当于取innerText 6 7 $("#ID").text(""); //相当于赋值给innerText 8 9 $( 阅读全文
posted @ 2020-07-15 22:58
江南-烟雨
阅读(192)
评论(0)
推荐(0)
摘要:
(1)AJAX请求 1 $(function() { 2 $('#send').click(function() { 3 $.ajax({ 4 type: "GET", //GET或POST, 5 async:true, //默认设置为true,所有请求均为异步请求。 6 url: "http:// 阅读全文
posted @ 2020-07-15 17:33
江南-烟雨
阅读(462)
评论(0)
推荐(0)

浙公网安备 33010602011771号