If you want to highlight search text in your page using jquery then you have to choose highlight JS Jquery plugin. highlight JS Plugin is very simple to use and more simple. In this example i give you example using highlight JS. So, you can also check preview you can see after run bellow example.
<img width="100%" style="border:1px solid black" src="/upload/Jquery-highlight-search.png">
In this example you have to just copy code and paste in your index.html file and run that file. After run this file you will found like above preview.