PHP Classes

File: public/asset/vendor/jquery-validation/src/additional/lessThan.js

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/jquery-validation/src/additional/lessThan.js   Download  
File: public/asset/vendor/jquery-validation/src/additional/lessThan.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: mnTemplate
Route HTTP requests to callback functions
Author: By
Last change:
Date: 1 year ago
Size: 408 bytes
 

Contents

Class file image Download
$.validator.addMethod( "lessThan", function( value, element, param ) { var target = $( param ); if ( this.settings.onfocusout && target.not( ".validate-lessThan-blur" ).length ) { target.addClass( "validate-lessThan-blur" ).on( "blur.validate-lessThan", function() { $( element ).valid(); } ); } return value < target.val(); }, "Please enter a lesser value." );