[Tutor] Highlighting Searched-for text

Schmidt, Allen J. aschmidt@nvcc.edu
Mon Oct 28 12:00:04 2002


I will be using this in either Python Scripts or External Methods in Zope if
that makes any difference to the answers...

I have a form field on a web page. The user types in a word, words or word
fragments. The results page is then displayed with matching
entries...usually pulled from a db.

How can I then highlight (change font to red or something) the search text
on the resulting page display. I have seen this in other online systems but
want to do it in Python/Zope but have not found a way. I have basic, general
Python experience.

Thanks!!!

-Allen