I want to highlight text in a specific position. Something like this: highlight with jquery, but it only highlights the word in the position n.
For instance, highlight only the second hello in the text “hello, hello, hello”
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.
Here’s a way to do it, but it’s not some concise and clever jQuery – mostly straight up javascript.