i would like to add a character to a text-box that separates two characters from two like this :
22:11
so when the user enters 22 it auto switch to after the separator and then the user can enter 11.
how can i do this , thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can could using the Masked Input plugin with pattern “99:99”
JsFiddle link
For asp.net, if you are using ASP.NET AJAX Control Toolkit, you can use the MaskedEdit extension.