4 Years
Discussion Span
Last Post by obuobi

There is a very cool jQuery plugin that will do that for you.

Click Here

That will allow you to use client side scripting to get the user input and find the searched term in the page.

Edited by hericles


Am new in vb so I think you would have to go feather for me or explain it more for me please


OK, I would use a client side script to do the search and highlight because a postback to the server is unnecessary. You already have the data on the screen in front of you and highlighting text is a view based operation.
So, using something like jquery is perfect. You would need the input box to accept the user's search term and, on the button click, run the script.
If you don't know jquery there are plenty of tutorials online and it is a very good tool to learn - you can have a lot of fun with it.
Once you've played with jquery a bit and learnt the basics the link I provided has all the information you need to incorporate it.
But, if you try and have trouble, post up how far you get and we'll help you out.


Can you help me with the codes to do what you said ?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.