• AJAX


             $.ajax({
                        url: '带载入页面',
                type: 'post/get', contentType:
    'application/json;charset=utf-8', data: '{key:value}',//请求数据 success: function (data) { //载入成功时回调函数 alert(data); } });
             $.get(
                        url: '带载入页面',
                type: 'post/get',
                        contentType: 'application/json;charset=utf-8',
                        data: '{key:value}',
                        success: function (data) { //载入成功时回调函数
                            alert(data);
                        }
               ); 
             $.post(
                        url: '带载入页面',
                type: 'post/get',
                        contentType: 'application/json;charset=utf-8',
                        data: '{key:value}',
                        success: function (data) { //载入成功时回调函数
                            alert(data);
                        }
               );  
     

  • 相关阅读:
    提高PHP程序运行效率的方法
    必须知道的sql编写技巧。多条件查询不拼接字符串·的写法
    数据库SQL优化大总结之 百万级数据库优化方案
    编程一开始就应该养成的好习惯
    php图像处理
    jqurey 简单的,我也简单
    菜单上下级 (全国地区)
    think php v5.0
    正则表达式
    有感赠朵朵
  • 原文地址:https://www.cnblogs.com/rzkwz/p/12506841.html
Copyright © 2020-2023  润新知