1. 程式人生 > >easyui表單驗證

easyui表單驗證

put eth for width spa -o option input style

技術分享
 1   function add() {
 2         $(#ff).form(submit, {
 3             onSubmit: function () {
 4                 return $(this).form(enableValidation).form(validate);
 5             }
 6         });
 7     }
 8 <form id="ff" action="Home/Index?type=1" class="easyui-form"  method="post" data-options="
novalidate:true"> 9 10 <input class="easyui-textbox" data-options="required:true,validType:‘email‘" style="width:300px;height:34px;"> 11 12 </form>
View Code

easyui表單驗證