The jqxMaskedInput widget uses a mask to distinguish between proper and improper user input. You can define phone number, ssn, zip code, dates, etc. masks by setting the jqxMaskedInput mask property. Try jqxMaskedInput in our jsEditor - cloud solution for JavaScript, HTML and CSS editing, hosting and sharing your web development ideas!
Zip Code
Phone Number


  • Mask specific formatting
  • Customizable Prompt Chart
  • Cross-browser/cross-platform support
  • Appearance and Themes

Mask specific formatting

When a mask is defined for the input field, entries to that field must match the pre-defined formatting. For example, you can use a mask to specify the format used with telephone numbers or postal codes. There is also an option to define a regex expression for all or any of the mask items.

Customizable Prompt Chart

The mask characters are displayed with "_" by default. With jqxMaskedInput, you can change this default char to any other char.

Cross-browser/cross-platform support

jQuery MaskedInput supports all major desktop and mobile web browsers - Internet Explorer 7.0+, Firefox 2.0+, Safari 3.0+, Opera 9.0+, Google Chrome, IE Mobile, Android, Opera Mobile, Mobile Safari(IPhone, IPad).