Robin Herbots 15 years ago
parent
commit
3e6d2bb8d0
1 changed files with 6 additions and 0 deletions
  1. 6 0
      README

+ 6 - 0
README

@@ -101,6 +101,12 @@ $(document).ready(function(){
    $("#number").inputmask('setvalue', 12345); 
 });
 
+when the option patch_eval is set to true the same can be done with the traditionnal jquery.val function
+
+$(document).ready(function(){
+   $("#number").val(12345); 
+});
+
 add custom definitions
 
 $.extend($.inputmask.defaults.definitions, {