Robin Herbots 15 年之前
父节点
当前提交
3e6d2bb8d0
共有 1 个文件被更改,包括 6 次插入0 次删除
  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, {