Ajax 教程
Jquery.js 版 Ajax 请求文档教程
~/Projects/jquery/ajax.js
  1. $.ajax({
  2.     type: "GET",
  3.     url: "/ajax_test",
  4.     dataType: "json",
  5.     success: function(data) {
  6.         console.log(data);
  7.         $('#div').html(data);
  8.     },
  9.     error: function(e) {
  10.         console.log('error');
  11.     }
  12. });
https://your-app-url.com

Hello World !

This is ajax test !

Copyright © 2017 Ajax.hk