What is JQuery Easyui
The JQuery Easyui Framework provides everything you need to create a Web page to help you build your site easily.
Easyui is a jQuery based framework that integrates a variety of user interface plug-ins.
Easyui provides the necessary functionality to build modern, interactive JavaScript applications.
With Easyui, you don't have to write too many JavaScript code, and in general you just need to use some HTML tags to define the user interface.
The complete framework of HTML Web pages.
Easyui saves the time and scale of developing products.
Easyui is very simple, but very powerful.
The Jquery Easyui is a very good UI framework, but there is no most common validation in form validation for the equality of values in the two output boxes, so I did an extension.
/**
* @author Yukaizhao
/$.extend ($.fn.validatebox.defaults.rules, {/
* must be equal to a field/*
Equalto: {
validator:function (value,param) {return
$ (param[0]). val () = = value
;}, message
: ' Field mismatch '
}
Use examples:
Password:
<input id= "password" name= "password" validtype= "length[4,32" "class=" Easyui-validatebox "required=" true "type=" Password "value=" "/>
<br/>
Confirm Password:
You can specify the Validtype property as equalto[' #password '.
Of course Use this widget, must first reference jquery Easyui JS Library.
The above content is small series to introduce jquery Easyui verify two times password input is equal to the relevant knowledge, hope to help everyone, if you want to know more information please pay attention to cloud Habitat community website, thank you!