PHP Classes

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

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/jquery-validation/src/additional/greaterThan.js   Download  
File: public/asset/vendor/jquery-validation/src/additional/greaterThan.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: 421 bytes
 

Contents

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