If you look at the HTML source of a google search page with highlighting,
you will find that the highlighted words are enclosed by <b> tags. I assume
they loop through all elements on the page to find the words to highlight,
i.e. to enclose with <b>, in the element's innerText property.
Eliyahu
"Nicky" <Ni***@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
hi, all
I have an iframe in my page. Actually what I want is just like the google
search.
When user clicks search, I will load the a page from another URL into
iframe and then highlight the key words in the iframe.
Does anyone know how to do this? By JS or VBScript?
Thanks