js之ajax·

1、调用方式一

$("button").click(function(){
$.ajaxSetup({url:"/example/jquery/demo_ajax_load.txt",success:function(result){
$("div").html(result);}});
$.ajax();
});
原文地址:https://www.cnblogs.com/lovebaoqiang/p/4310771.html