jVal

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 13:11:36

软件介绍

Super-sexy animated form field validation plugin.

Very easy to apply field validation on a per field basis in the html <INPUT> declaration. Very user friendly in showing each field that has not passed validation. Easy support for restriction of characters in a field, i.e. phone number only allowing digits. Allows for associating the ENTER key with a specific function.

To use simply add a jKey="" or jKeyVal="" to the <INPUT> html tag you would like to have validation associated with such as this example to make sure that a field has 10 digits as well as only allowing digits to being entered (i.e. US Phone number input field):

<INPUT ID="phoneNumber" TYPE="text"
    jVal="{valid:function (val) { if (val.length != 10) return false; else return true; }, message:'10 Digits for Phone Required', styleType:'cover'}"
    jValKey="{valid:/[0-9]/, message:'&quot;%c&quot; Invalid Character - Only Digits Allowed', cFunc:'$(\'#formContainer\').jVal()', styleType:'pod'}">

The validation from jVal will render the flyout messaging in the "cover" style and the flyout messaging for invalid characters will be in the "pod" style - see Home Page for more info.

0.1.2

  • fixed issue with [jVal] input field’s visually “bouncing”

0.1.1

  • jVal() now returns true if all jVal fields are valid and false is any jVal fields are invalid and fail the test RegExp or Function declared in the jVal=”" attribute.

0.1.0

  • initial release

本文地址:https://codercto.com/soft/d/23145.html

深入理解LINUX网络技术内幕

深入理解LINUX网络技术内幕

Christian Benvenuti / 夏安、闫江毓、黄景昌 / 中国电力出版社 / 2009-6 / 128.00元

Linux如此的流行正是得益于它的特性丰富及有效的网络协议栈。如果你曾经惊叹于Linux能够实现如此复杂的工作,或者你只是想通过现实中的例子学习现代网络,《深入理解Linux网络内幕》将会给你指导。同其他O'Reilly的流行书籍一样,《深入理解Linux网络内幕》清楚地阐述了网络的基本概念,并指导你如何用C语言实现。虽然早先的 TCP/IP经验是有用的,但初学者通过《深入理解Linux网络内幕》......一起来看看 《深入理解LINUX网络技术内幕》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器