javascript - How to make my own masked input definitions -


i using masked input plugin phone number formatting, http://digitalbush.com/projects/masked-input-plugin/

the standard definitions are

        definitions: {         "9": "[0-9]",         a: "[a-za-z]",         "*": "[a-za-z0-9]"         }, 

currently if apply mask (999) 999-9999, can enter 0-9 character.

how can create own or modify definition accept '*' or '/' characters?

you can change [0-9] [0-9*/] accept both numbers , * or /.


Comments