zoukankan      html  css  js  c++  java
  • jquey 无刷新更新页面

    https://files.cnblogs.com/xsmhero/jquery.js

    <script language='javascript' type='text/javascript' src='JavaScript/jquery.js'></script>

      <script type="text/javascript">
      <!--

    function my_save()    // 保存查询策略
    {
       

       Validator.Validate(document.getElementById("tjForm"));// 验证表单
       if(Validator.ErrorItem.length>1)
         return;

     listForm.action = "SaveOrDeleteQuery.aspx";
        listForm.queryTitle.value = queryTitle.value;
        listForm.actionType.value = "1";
        listForm.submit();
        my_menu1.close();
       
        var data="&actionType=1";
        var targetUrl="CreditQuery.aspx";
        $.ajax(
     {
      type:"get",
      data:data,
      url:targetUrl,
      beforeSend:function(){
      
      },
      
      success:function(data, textStatus){
                document.getElementById("outQueryTitles").innerHTML=data;
      },
      
      complete:function(XMLHttpRequest, textStatus){
      
      },
      
      error:function(){
       
      }
        });
    }

    //-->

    </script>

    <form name="tjForm" action="" methord="post" >

    <input type="text" name="setupDate" style="60px;" title="输入起始年份!" require="false" dataType="Range" min="1880" max="2010" msg="[成立时间的起始年份]只能在1880~2010年之间!"/> ~ <input type="text" name="setupDate" style="60px;" title="输入截止年份!" require="false" dataType="Range" min="1880" max="2010" msg="[成立时间的截止年份]只能在1880~2010年之间!"/>

    <input type="text" name="capital" style="60px;" title="输入查找的起始注册资金!" require="false" dataType="Number" msg="[注册资金]只允许输入整数!" /> ~ <input type="text" name="capital" style="60px;" title="输入查找的截止注册资金!" require="false" dataType="Number" msg="[注册资金]只允许输入整数!"/>

    </form>

  • 相关阅读:
    cmake使用总结
    Fatal error RC1015: cannot open include file "xxxx.h" vs2008
    可重入函数(转)
    《左耳听风》-ARTS-打卡记录-第十二周
    异常声明
    QString与const char *相互转换
    Qt中使用子线程去关闭弹出框
    什么是反向代理
    【GOJ 3002】颜色
    【GOJ 2296】毛毛虫
  • 原文地址:https://www.cnblogs.com/xsmhero/p/1894084.html
Copyright © 2011-2022 走看看