I am using meioMask – a jQuery mask plugin to put time mask in a textbox. Here is the JsFiddle. It\'s working well. But I also need to put hh:mm
in the textbox, to
If you want it simple and clean here's a quick, but complete, demo (See: http://jsfiddle.net/bEJB2/ ) that includes a placeholder
and a mask working together. It uses the jQuery Plugin jquery.maskedinput. The JavaScript is so clean and clear
Demo of Mask for 12 Hour AM/PM Input Field w/ Place Holder
I would echo what @YiJiang said about PolyFills and Modernizr for placeholder
handling in non-HTML5 browsers as well.