Find(on this Page) Feature for HTML table

This is a discussion on "Find(on this Page) Feature for HTML table" within the JavaScript Forum section. This forum, and the thread "Find(on this Page) Feature for HTML table are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 8th, 2006, 10:18
New Member
Join Date: Jul 2006
Location: India
Age: 28
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Find(on this Page) Feature for HTML table

Hi,

I would like to know, is it possible to have a "Find on this page" on html page using javascript. I have one html page with me containing tables & displaying data in form of rows & columns. I just want to have a keyword based search on the contents of this html page using javascript, so that it will emulate the behavior of "web page navigation as in Mozilla FireFox/Notepad contents etc". If the find "keyword" provided by the user presents on the page, one by one all its occurrences gets highlighted on pressing enter. Please let me know can I have the similar search feature in javascript. If possible, please provide me with the sample code as i am new to javascript.

I know the HTML tables can be traversed with the help of javascript like
DOM interfaces but I want matching of keywords with contents & their highlights after finding them.

Thanks,
sameer.
Reply With Quote

  #2 (permalink)  
Old Jul 8th, 2006, 12:51
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Find(on this Page) Feature for HTML table

Yes it's possible...
Your best bet would be to know a few basic regular expressions and you can easily do it.

Why would you need this? Where do you plan in using it? Why isn't the browser's standard "Find" feature usefull?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
Reply

Tags
findon, page, feature, html, table

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Putting CSS with an HTML Table. mcdanielnc89 Web Page Design 6 Nov 2nd, 2007 05:13
.swf file as HTML table background bubberz Flash & Multimedia Forum 9 Jun 18th, 2007 21:45
Need help in clone html table bryanpung JavaScript Forum 1 Jun 15th, 2007 14:12
html table design help antony Web Page Design 6 Mar 12th, 2007 16:32
MySQL UPDATE after use $uniqueID to find table row, etc jswebdev PHP Forum 1 Dec 6th, 2005 12:09


All times are GMT. The time now is 19:31.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43