I have a <div id="one">this is a sentence</div>
I have a textbox for userinput, if the user types a word which matches any word in div, eg: if user types "this", which is also there in div value, the background color of "this" should be changed, using Javascript
Thanks Sunny.
onkeypressis what you need for the input box, followed by a knowledge of working with ranges in a cross browser manner.