ajax - get() 方法

$("button").click(function(){
  $.get("demo_ajax_load.txt", function(result){
    $("div").html(result);
  });
});

原文地址:http://www.w3school.com.cn/jquery/ajax_get.asp

猜你喜欢

转载自blog.csdn.net/weixin_39616995/article/details/83341507