<html xmlns = "http://www.w3.org/1999/xhtml"> <head> <script src = "easyui1.2.4/jQuery-1.6.min.js" type = "text/javascript"> </script> <script script script = "unggas. type = "Text/JavaScript"> </script> <!-Verifikasi Kustom-> <skrip src = "easyUi1.2.4/validator.js" type = "text/javascript"> </script> <link href = "function {function" (function "/tema/tema/easyUi.css"/{function {{function "/tema/tema/tema/function/tema/function/tema/tema/tema/function/tema/function/{{{{{{{{{{{{{{{{{{stage"/ // Pengaturan Teks Membutuhkan Verifikasi $ ('Input [Type = Text]'). ValidateBox ();}) </script> </head> <body> Verifikasi email: <input type = "Text" ValidType = "Email" Diperlukan = "TrueMessage =" tidak dapat kosong "InvalidMessage =" Format Kotak Mailbox " InvalidMessage = "Format URL salah [http://www.example.com]" /> <br /> verifikasi panjang: <input type = "text" validtype = "length [8,20]" InvalidMessage = "valid length 8-20" /<br /br /verifikasi ponsel: <input: "input =" TEKPRET " /BR /BR /BR /BR /BR /MELONECH VERIFIKASI: <INPUT TYPET =" TEPP = "TEKPRET =" BR /BR /BR /BR /BR /BR /BR /MELONECH VERIFIKASI: <INPUT TYPET = "TEPP =" TEPP "VALPET =" BR /BR /BR /BR /BR /BR /MOLONE: <INPUT TYPET = "TEPP =" TEPP (" type="text" validtype="zipcode" /><br /> Account verification: <input type="text" validtype="account[8,20]" /><br /> Chinese character verification: <input type="text" validtype="CHS" /><br /> Remote verification: <input type="text" validtype="remote['checkname.aspx','name']" InvalidMessage = "Nama pengguna sudah ada"/> </body> </html> // Custom Validator.js // Perluas verifikasi Formulir Easyi $ .Extend ($. {// Validasi nilai nilai dalam kotak teks: function (nilai) {var reg =/^1 [3 | 4 | 5 | 8 | 9]/d {9} $/ /^[1-9]/d {5} $/; {$ .fn.validateBox.defaults.rules.account.message = 'Panjang nama pengguna harus' + param [0] + 'ke' + param [1] + 'rentang'; Return, Surat, dan Garis Besar. ';