PDA

View Full Version : How to highlight word found in the search engine?


helLO
04-16-2003, 06:07 PM
How to highlight word found in the search engine?

Example: The word need to be searched is "AAA" then it will display result with AAA highlighted...

I would like to use ASP to do it... R there any shorter code or code that is easy to understand for a asp learner...

Thanks...

Mhtml
04-17-2003, 06:15 AM
It depends, has the data already been written to the page? Or is it on another page somewhere else?

You have several choices, you can split it up or you can use replace or both or regular expressions even..

helLO
04-17-2003, 01:57 PM
i used replace and it works great... but i would like to highlight the word...