Results 1 to 3 of 3
Thread: Highlight search terms
Oct 7, 2011, 02:41 #1
- Join Date
- May 2006
- 0 Post(s)
- 0 Thread(s)
Highlight search terms
I want to highlight searched terms on a search results page.
Currently the main instance of the search term is wrapped with a span with a class of 'terms' (but the rest are dynamic) so I need to...
- Grab the contents of span.terms
- Find that term within the copy of dl#results
- wrap each one in <mark> tags.
Can someone assist please?