473,401 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Highlight Search Keyword

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
1 3125
Dököll
2,364 Expert 2GB
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

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

Similar topics

13
by: David Morgan | last post by:
Hello I have a little function to highlight text if it exists. Function Highlight(vFind, vSearch) Dim RegEx Set RegEx = New RegExp RegEx.Pattern = vFind RegEx.IgnoreCase = True Highlight =...
1
by: hrpreet | last post by:
Hi All, On click of a link , the contents get displayed in an iframe. Is there a way to search some text in the content displayed in the iframe and highlight it. Thanks.
35
by: shapper | last post by:
Hello, I am creating a search engine which searches keywords inside SQL database and displays the results in a web page. In the results web page I would like to give a grey background to the...
19
by: bb nicole | last post by:
Below is my search engine for job portal which jobseeker can find the job through quick search. But it cant work... Is it mysql query got problem?? Thanx.. Interface <html> <head> <title>UMS...
2
by: BirdStang33 | last post by:
I'm using a form with a textbox that user's enter a keyword to search. The form runs a query that searches for the keyword and displays the results in a report. Is there anyway to get the keyword...
2
by: Celeste | last post by:
Hello, I'm trying to parse the referring url for google search terms so that when this page loads it will scroll to and highlight the search term(s). Should i be using document.referrer? ...
0
Merlin1857
by: Merlin1857 | last post by:
A thing I have been asked for on a number of occasions is the ability to highlight text after its been searched for in a record return page. The following does this perfectly. Use this function...
1
by: raja npedia | last post by:
Hello sir/madam, i have a one img file, in this file i search one keyword, suppose 'sample' , how to highlight this word in img file using javascript. i have one program , <!DOCTYPE HTML PUBLIC...
3
by: yogarajan | last post by:
Dear Friends i am devloping for search box it is woking good i want highlight my search text. My original text is Mixed case (Lower case and upper case) my search text is lower case means how can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.