I have a textBox1 which should take Fixed Format like eg below
HH:MM:SS or ::__
where HH,MM,SS can be entered but colon(:) should be fixed.Please help me out.
I have a textBox1 which should take Fixed Format like eg below
HH:MM:SS or ::__
where HH,MM,SS can be entered but colon(:) should be fixed.Please help me out.
You Can use Mask plugin , i think it will serve you see this link https://igorescobar.github.io/jQuery-Mask-Plugin/
download it from here https://github.com/igorescobar/jQuery-Mask-Plugin
look at this:
new Formatter(document.getElementById('date-input'), {
'pattern': '{{99}}/{{99}}/{{9999}}',
'persistent': true
});
or
$('#date-input').formatter({
'pattern': '{{99}}/{{99}}/{{9999}}',
'persistent': true
});