第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

formvalidator 問題

formvalidator 問題

紅顏莎娜 2018-12-07 07:03:55
<form id="loginForm" runat="server"> <table style=" width: 1000px;"> <tr> <td style=" width: 20%; height: 30px;">用戶名:</td> <td style=" width: 70%;"> <asp:TextBox ID="txt_uname" runat="server"></asp:TextBox> <span id="txt_unameTip"></span> </td> </tr> <tr> <td colspan="2"> <asp:Button ID="btn_save" runat="server" Text="保 存" /> </td> </tr> </table> </form> <script type="text/javascript"> $.formValidator.initConfig({ formid: "loginForm", onerror:function(msg){ alert(msg) }, onsuccess:function(){ alert('success'); } }); $("#txt_uname").formValidator( { onshow : "請輸入用戶名", onfocus : "用戶名至少6個字符,最多10個字符", oncorrect: "該用戶名可以注冊" } ).inputValidator( { min : 6, max : 10, onerror : "你輸入的用戶名非法,請確認(rèn)" } ).regexValidator( { regexp : "username", datatype : "enum", onerror : "用戶名格式不正確" } ); </script> ? 好像沒什么作用,什么原因呢
查看完整描述

1 回答

?
拉莫斯之舞

TA貢獻(xiàn)1820條經(jīng)驗(yàn) 獲得超10個贊

你用的是什么驗(yàn)證插件

查看完整回答
反對 回復(fù) 2018-12-24
  • 1 回答
  • 0 關(guān)注
  • 466 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號