Open Source Resources for Web Application Developers

Shopify - Online Store Builder
Follow Us on Social Sites
Subscribe RSS Subscribe Newsletter Like us on Facebook Follow us on Twitter Follow us on Google+
  • Home
  • News
  • Plugins
  • Design
  • Others
  • Books
  • About
22 Apr

jQuery Masked Input Plugin

  • Forms, License Free
  • Leave a Comment

Masked Input Plugin is a masked input plugin for the jQuery javascript library. It allows a user to more easily enter fixed width input where you would like them to enter the data in a certain format (dates,phone numbers, etc).

A mask is defined by a format made up of mask and placeholder characters. Any character not in the placeholder character list below is considered a mask character. Mask characters will be automatically entered for the user as they type and will not be able to be removed by the user. The following placeholder characters are predefined:

* a – Represents an alpha character (A-Z,a-z)
* 9 – Represents a numeric character (0-9)
* * – Represents an alphanumeric character (A-Z,a-z,0-9)

Input Mask Plugin

It has been tested on Internet Explorer 6/7, Firefox 1.5/2, Safari, and Opera. The file size is very small with only 7.3k and 2.8k for the Packed version.

Requirements: jQuery Framework
Demo: http://digitalbush.com/projects/masked-input-plugin
License: License Free

Share
Tweet
Sponsors
subscribe to our newsletter - weekly free resouces for web developers
follow us on social sites - rss, facebook, google+, Twitter
Subscribe RSS Like us on Facebook Follow us on Twitter Follow us on Google+
Related Resources
Paragraph, Word & Character Counting with Countable.js

Paragraph, Word & Character Counting with Countable.js

Free Dynamic Javascript Slideshow Under 5KB

Free Dynamic Javascript Slideshow Under 5KB

Simplify Google Maps API with Google Maps jQuery Plugin

Simplify Google Maps API with Google Maps jQuery Plugin

Build Your Own Slideshow with s3Slider jQuery Plugin

Build Your Own Slideshow with s3Slider jQuery Plugin

Easy to Use Ajax Auto Suggest jQuery Plugin

Easy to Use Ajax Auto Suggest jQuery Plugin

The jQuery Globalization Plugin From Microsoft

The jQuery Globalization Plugin From Microsoft

Comments
  • http://m4c.pl m4c

    Very nice! Thx

  • http://blog.olicio.us/ Oskar Krawczyk

    Mootools-based precursor: http://sentry.case.edu/moo/mooMask/mooMask.html

  • arthemisia

    And with prototype ?

  • http://kim.steinhaug.com/ Kim Steinhaug

    I was hoping for a prototype version aswell, however it’s maby time soon for diving more into the libraries as I see more and more cool stuff appearing with jQuery. Maby the neatest thing, probably easiest I don’t know – would be for prototybe, mootools and jQuery to be able to run side by side. Sure this is a major overhead with libraries, but it would make us be able to use the best of all worlds.

    It does look sweet though!

  • http://fedmich.com fedmich

    great idea but I encountered a bug…
    I’m using tabs while I type values, after inputting aa-323-a323 on productkey (wrong) an alert shows, and then the 2 inputs (product and eye script) keeps getting focus endlessly. I had to refresh the page to stop it…

    Thanks anyway :)

  • http://blog.olicio.us/ Oskar Krawczyk

    @Kim, when running all these side-by-side is pretty much undoable, running them in dependance-mode is something you might look forward to. Basically by dependance-mode I mean, you use a preferred framework on different subpages with some kind of fancy module-switcher (I’m guessing people call that On-Demand Javascript).

  • http://kim.steinhaug.com/ Kim Steinhaug

    @Oskar Krawczyk, thanks for the input. I agree that running all the libraries is pretty much a crazy idea – and probably I would encounter alot of problems aswell. I have recently incorporated Prototype and Scriptaculous into all our projects, but it’s so easy falling in love with all theese fine widgets popping out in all the other libraries aswell.

    We want them all, ;) However when that is said, one cannot expect everybody else to do the hard work all the time!

  • Andreas

    How do you define time? I would like something similar to this regex pattern: ^([0-1][0-9]|[2][0-3]):([0-5][0-9])$ (allow 12:54 but not 25:54)

  • http://TiPE-media.de.ms Tim

    How to define a german telphone-number? Something like 06101-12345789 or 069-123456 or 030-12345..

Open Source Resources for You

What we need is a list of the top quality resources, so that we can spend more time on our web development. WebAppers only picks the top quality web development resources for you.

© Copyright 2012 WebAppers | About | Archives | Privacy Policy | Advertise | Contact

Sponsors
Advertise Here
Search
By Keywords
30 Days / All Time
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • Professional Business Cards Made By Designers
  • Best Free Chrome Extensions for Web Developers
  • All of the Best Free WordPress Themes You Need
  • How to Create a Web App Admin User Interface
  • Nice List of Open Source Fish Eye Menu
  • Best Web Admin Templates
  • 25 Useful Blogs for Web Design & Development
  • Simple Javascript Progress Bar with CSS
  • 10 Useful & Quality Design Resources
  • Free Web Application Icons
  • Free Responsive HTML5 + CSS3 Site Templates
  • 35 Creative Twitter Covers for Web Designers
  • FROONT: Responsive Web Design in the Visual Way
  • Designing Experiences for Responsive Web Sites
  • jQuery Unveil: The Lightweight Version of Lazy Load
  • What are HTML5 Datalists and When to Use Them
  • Easy Responsive Tabs jQuery Plugin for Web & Mobile
  • jQuery.Swatches Turns Div into a Sweet Color Swatch
  • Pure: A Set of Small & Responsive CSS Modules
  • Create Sexy Android-like UI with Fries
Sponsors
Plugins
  • Advertisement15
  • Calendar48
  • Capture19
  • Charts55
  • Chat22
  • Demo Tour17
  • Gallery121
  • Maps30
  • Menu87
  • Polls9
  • Popup50
  • Tooltips42
  • Upload33
  • Video18
Desgin
  • Brushes11
  • Buttons27
  • Color Schemes25
  • Fonts47
  • Forms115
  • Icons110
  • Patterns24
  • PS Tutorials17
  • Stock Photos21
  • Tables25
Others
  • Announcement104
  • Best Collections6
  • Code57
  • eCommerce25
  • Framework217
  • Hosting13
  • Information245
  • Inspiration32
  • Legal Documents10
  • Reviews8
  • Security13
  • Social28
  • Sound16
  • Stats40
  • Tools302
  • Webmail14
Licesnes
  • BSD License69
  • CC License123
  • GPL License224
  • LGPL License40
  • License Free749
  • MIT License423
Sponsors
Advertise Here
Partners
MaxCDN