What is "masked-input-plugin"

Masked input a plugin from the jQuery javascript library.

It allows users to easily enter with a fixed width input, where they would like their users to enter a data in a given format (dates, phone numbers, etc).

It has been tested on Internet Explorer, Firefox, Safari, Opera and Chrome.

A mask is defined from templates made of literal masks and mask definitions. Any character outside the list of definitions below is considered a literal mask. Literal masks will be inserted automatically and will not be able to be removed by the user. The following mask settings are predefined:

  • to - Represents an alphabetic character (A-Z, a-z)
  • 9 - Represents a numeric character (0-9)
  • * - Represents an alphanumeric character (AZ, az,0-9)

Source: digitalbush