Highlight Search Keyword

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prasath03
    New Member
    • Jun 2007
    • 30

    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
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    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

    Comment

    Working...