wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes FIND in html page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "FIND in html page?" Watch "FIND in html page?" New topic
Author

FIND in html page?

verduka fox
Ranch Hand

Joined: Jan 18, 2001
Posts: 178
I have a request to add a "find" feature to one of the pages in my web application. Does anyone know of a way to have a button that, when clicked, will call Ctl + F? This would effectively perform the same operation as clicking Edit -> Find.
Any resources you can provide would be greatly appreciated.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I have my own find script I made
http://www10.brinkster.com/A1ien51/scripts/FindBar.htm
I think that onclick="window.find()" works in newer browsers...not 100% sure.
Eric
verduka fox
Ranch Hand

Joined: Jan 18, 2001
Posts: 178
I tried your suggestion of window.find() but I couldn't get it to work on IE6. Any suggestions?
Thanks!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
i think it only works in Netscape.....
verduka fox
Ranch Hand

Joined: Jan 18, 2001
Posts: 178
Do you know of any way to get it to work in IE6? My application is on our intranet and we only support IE6.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FIND in html page?
 
Similar Threads
OpenOffice File Conversion formats
exam preparation
corba...
how to use reflection when static members throw exception
What a job offer?!!