Browse Source

add comment

Robin Herbots 14 years ago
parent
commit
2f65841cbb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jquery.inputmask.js

+ 1 - 1
jquery.inputmask.js

@@ -123,7 +123,7 @@ This plugin is based on the masked input plugin written by Josh Bush (digitalbus
                             }
                             }
                         });
                         });
                         break;
                         break;
-                    case "getemptymask":
+                    case "getemptymask": //return the default (empty) mask value, usefull for setting the default value in validation
                         if(this.data('inputmask'))
                         if(this.data('inputmask'))
                     		return this.data('inputmask')['_buffer'].join('');
                     		return this.data('inputmask')['_buffer'].join('');
                     	else return "";
                     	else return "";