Browse Source

Update README

Robin Herbots 14 years ago
parent
commit
3a52cd0c64
1 changed files with 5 additions and 2 deletions
  1. 5 2
      README

+ 5 - 2
README

@@ -192,8 +192,11 @@ $(document).ready(function(){
    $("#date").inputmask("dd/mm/yyyy");       => equals to    $("#date").inputmask("d/m/y");
 });
 
-auto uppercasing inputmask
+auto upper/lower- casing inputmask
+
+see jquery.inputmask.extentions.js for an example how to define "auto"-casing in a definition (definition A)
+casing can be null, "upper" or "lower"
 
 $(document).ready(function(){
-   $("#test").inputmask("999-aaa", { autoCasing: "upper" });       => 123abc ===> 123-ABC 
+   $("#test").inputmask("999-AAA");       => 123abc ===> 123-ABC 
 });