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

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

jQuery formValidator使用問題,不知道問題出在哪里

jQuery formValidator使用問題,不知道問題出在哪里

狐的傳說 2018-12-06 14:18:17
<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script src="../js/formValidate/jquery-1.4.4.min.js" type="text/javascript"></script> <script src="../js/formValidate/formValidator-4.1.3.js" type="text/javascript"></script> <script src="../js/formValidate/formValidatorRegex.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $.formValidator.initConfig({ formID: "form1", theme: "ArrowSolidBox", submitOnce: true, onError:function(msg,obj,errorlist){ $("#errorlist").empty(); $.map(errorlist,function(msg){ $("#errorlist").append("<li>" + msg + "</li>") }); alert(msg); }, ajaxPrompt : '有數(shù)據(jù)正在異步驗(yàn)證,請稍等...' }); $("#email").formValidator({ onShow:"請輸入郵箱", onFocus:"郵箱6-100個(gè)字符,輸入正確了才能離開焦點(diǎn)", onCorrect:"恭喜你,你輸對了", defaultValue:"@"}).inputValidator({min:6,max:100,onError:"你輸入的郵箱長度非法,請確認(rèn)"}).regexValidator({regExp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onError:"你輸入的郵箱格式不正確"}); }</script></head><body> <form action="" method="post" name="form1" id="form1"> <table border="0px" style="font-size:12px" width="730px"> <tr> <td align="right" width="135px">用戶名:</td> <td width="265px"><input type="text" id="email" name="email" style="width:120px" /></td> <td width="330px"><div id="emailTip" style="width:280px"></div></td> </tr> </table> <ul id="errorlist"></ul> </form></body></html>
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 416 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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