I have recently done a very simple highlighting with jQuery and a highlight plugin. It looks like this:
$(\'myButton\').click(function() {
I've edited JAndy's code so the result would match all the occurences in the text and the search would not be case-sensitive. Link Hope someone finds this helpful