📜  ajax调用php代码示例

📅  最后修改于: 2022-03-11 14:54:32.540000             🧑  作者: Mango

代码示例1
$.ajax({ url: '/my/site',
         data: {action: 'test'},
         type: 'post',
         success: function(output) {
                      alert(output);
                  }
});