zoukankan      html  css  js  c++  java
  • jquery ajax 的简单写法

      var options = {
                    type: "POST",
                    url: "/WEPM.OA.Web/OAHandler.ashx?Type=Grade&ProjectID=" + ProjectID + "&Batch=" + Batch,
                    contextType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function(response) {
                        jQuery("#CountNumber").val(response.CountNumber);
                        jQuery("#AAper").val(response.AAper);
                        jQuery("#Aper").val(response.Aper);
                        jQuery("#BBper").val(response.BBper);
                        jQuery("#Bper").val(response.Bper);
                        jQuery("#Cper").val(response.Cper);
                        jQuery("#Dper").val(response.Dper);

                    }
                }
                jQuery.ajax(options);

  • 相关阅读:
    MJRefreshFooterView
    UIActionSheet
    UIAlertView带textField
    SIAlertView
    旋转 锚点
    centos7.2 Apache+PHP7.2+Mysql5.6环境搭建
    ubuntu16.04 mysql 开启远程连接
    Ubuntu16.04重新安装MySQL数据库
    Ubuntu16.04彻底卸载MySQL
    laravel框架基础(2)---laravel项目加载机制
  • 原文地址:https://www.cnblogs.com/cxlings/p/2780255.html
Copyright © 2011-2022 走看看