OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to highlight text using javascript

  • Thread starter Thread starter Ankit
  • Start date Start date
A

Ankit

Guest
Can someone help me with a javascript function that can highlight text on a web page. And the requirement is to - highlight only once, not like highlight all occurrences of the text as we do in case of search.

<p>Can someone help me with a javascript function that can highlight text on a web page.
And the requirement is to - highlight only once, not like highlight all occurrences of the text as we do in case of search.</p>
 

Latest posts

G
Replies
0
Views
1
Gamal Othman
G
Top