-
How to highlight a word
Hello,
I have search option in my application.
suppose the user has entered a string like "hi javascript code 13".
and the body contain text is like this
e.g (After searching for a set of words on a common search engine, it can be extremely helpful when the pages found in the results of the search detect that they are being linked from a search and consequently javascript automatically highlight all of the search words. Implementing this feature is fairly simple hi to code do with client-side JavaScript, which gets embedded directly into a 13 web page.)
The body text should be highlighted like this .....................
Can u please tell me how to do this ....................
-
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks