亚洲免费乱码视频,日韩 欧美 国产 动漫 一区,97在线观看免费视频播国产,中文字幕亚洲图片

      1. <legend id="ppnor"></legend>

      2. 
        
        <sup id="ppnor"><input id="ppnor"></input></sup>
        <s id="ppnor"></s>

        jquery的ajax提交方式實(shí)例

        字號(hào):


            jquery的jax提交方式實(shí)例:
            <script type ="text/javascript" src ="jquery.js"></script>
            <script type="text/javascript">
            function checkCorpID()//檢測(cè)客戶編號(hào)是否可用
            {
            if($.trim($("#txtF_CORPID")[0].value)=="")//txtF_CORPID是客戶編號(hào)輸入框
            {
            alert("請(qǐng)輸入客戶編號(hào)!");
            }
            else
            {
            $("#checkFlag").html("正在檢測(cè)");//顯示提示信息
            $.ajax({
            type: "get",
            url: "CheckCorpID.ashx",
            data: "ID="+$.trim($("#txtF_CORPID")[0].value),//提交表單,相當(dāng)CheckCorpID.ashx?ID=XXX
            success: function(msg){$("#checkFlag").html("");alert(msg ); } //操作成功后的操作!msg是后臺(tái)傳過來的值
            }); 
            } 
            }
            </script>