Last post Jan 08, 2010 02:35 AM by Bober Song - MSFT
Jan 02, 2010 01:52 PM|eml|LINK
Hi to all,
I have a search page, which iam using to search the database fields which holds the technical articles. The fields that iam searching are varchar(max).
Everything is fine..., I want to show the results with the first found instance of searched keywords in bold and some 70 to 100 chars before and after.
How can i do this, what is the best way to do this.
Jan 04, 2010 05:52 AM|d4daud|LINK
Jan 06, 2010 09:51 AM|eml|LINK
Any more suggestions ?????????\
Jan 08, 2010 02:35 AM|Bober Song - MSFT|LINK
Hi eml ,
You can try to use the JQuery plugin for highlighting the keywords.
Firstly, you select the content from database via keywords. then display the content and use the jquery to highlight them by your defining color.
I hope it is helpful to you.