inputmask - 格式化录入的jQuery插件

jopen 9年前

inputmask 用于创建确保让用户能够按预先定义好格式输入的文本框。这些格式可以是日期,数字,电话号码等

特性
  • easy to use
  • optional parts anywere in the mask
  • possibility to define aliases which hide complexity
  • date / datetime masks
  • numeric masks
  • lots of callbacks
  • non-greedy masks
  • many features can be enabled/disabled/configured by options
  • supports readonly/disabled/dir=”rtl” attributes
  • support data-inputmask attribute(s)
  • alternator-mask support
  • regex-mask support
  • dynamic-mask support
  • preprocessing-mask support
  • value formatting / validating without input element
  • AMD support

项目主页:http://www.open-open.com/lib/view/home/1433229855650