How can I highlight the minutes (22) when displaying this time using Javascript/jQuery?
I want 22 to have a different color than 11 and 33.
11:22:33
Thank you!
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.
Put a
<span>tag around the minutes portion and use an appropriate style.As per your update, if you want to insert the spans using regexp you can do this