By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,730 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,730 IT Pros & Developers. It's quick & easy.

Highlight Search Keyword

P: 30
Hi Gurus,

I am doing one website project that project contains one search module.
In that search page i have entered the keyword to search.
If i want to search the keyword with "any keyword" or "all keyword" after searched the records are showed. what i expecting is i want to hightlight the all keyword in that page with case insensitive.
I am doing that concept in jsp page and sql server.

example for any keyword: internal medicine

example for all keyword: virology and hepatology

How can i highlight the keywords in jsp?



thanks in advance.

V. Prasath
Apr 16 '08 #1
Share this Question
Share on Google+
1 Reply


Dököll
Expert 100+
P: 2,364
Hey there!

I did a good amount of searching on this for you, to no avail...

You may need to use JavaScript within your JSP code to fetch newly retrieved word. Looks like there are some JSP code examples out there, but none seemed understandable enough, did not want to post...

Care to give it a try yourself!

Dököll
Dec 21 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.