wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Search for a text in a table. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Search for a text in a table." Watch "Search for a text in a table." New topic
Author

Search for a text in a table.

Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Hi all,
I have a Table, Text field and a "Search " button in a HTML page. Can any one throw some light on how to implement a search functionality in this table. When some text is typed in the text field & the search button is clicked,I need to find this text in the table and highlight it.


Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Take a look at the code to this page: http://www.nsftools.com/misc/SearchAndHighlight.htm

Eric
Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Eric,
Thanks for this URL. I want to narrow down the search only in a table.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Search for a text in a table.