how to highlight the searched text in textbox using javascript? <p>I am using java script in my application.I want to highlight the search element as well as keep the cursor at the position of search item in textbox. How can I highlight the element using javascript?</p>