Inputmask is a javascript library that creates an input mask. Inputmask can run against vanilla javascript, jQuery, and jqlite.
For full documentation please check the plugin's documentation.
Initialization
Inputmask instances can be initialized via new Inputmask() class as explained in the
Documentation.
Inputmask instances can be initialized via data-inputmask HTML attribute as explained in the
Documentation.
Examples
Some examples of using Inputmaks with variouse options.
Custom date format: mm/dd/yyyy
Phone number format: (999) 999-9999
Phone number format with placeholder: (999) 999-9999