Javascript Highlight search result

Tedpavlic created a very easy to understand and useful client site javascript highlight.

Here i briefly describe how to use it, please visit website above for details

1)Include following code



2) Call it localSearchHighlight(‘searchstr’)


3)Result

4)Simple, Done. Thanks Tedpavlic provided a good javascript highlight code.

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

avatar
0 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
Recent comment authors
newest oldest most voted