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
hh:mm
I think this might work
$(document).ready(function(){ $("#txtTime").setMask('time').val('hh:mm'); })
http://www.jsfiddle.net/9dgYN/1/