专题文章
时长:00:00更新时间:2020-11-27 20:28:37
$.ajax({ url:';test.do';.data:{id:123,name:';xiaoming';}.type:';post';.dataType:';json';.success:function(data){ alert(data);//弹窗 //TODO ........},error:function(data){ alert(data);//弹窗 //TODO ........}})。url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。
查看详情