I have an app that lets the user search over a number of fields for a string, When they view the detail record, they would like all occurrences of the string to be highlighted.
The detail form is made up of Labels and ListViews, most of which live inside of TabPanels (from the AJAX Control Toolkit). I’d like to avoid the use of brute force to manually parse each value to add the highlighting tags before displaying it.
Is there a way to load my form and then parse the HTML? Is there another way around this?
How about JavaScript and JQuery? http://plugins.jquery.com/project/highlight
I just tried that plugin out and it worked. You can specify which tags you want to highlight, and which words.