This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FIND in html page?

 
verduka fox
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried your suggestion of window.find() but I couldn't get it to work on IE6. Any suggestions?
Thanks!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think it only works in Netscape.....
 
verduka fox
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know of any way to get it to work in IE6? My application is on our intranet and we only support IE6.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic