This puts a div behind the input field to simulate highlighting on the search string. Also the caret is simulated. It is rather slow. We should seriously think if we really want this enhancement.
As far as I can see it should work in all major browsers: tested in FF and GC, checked IE support on caniuse.com.