faqts : Computers : Programming : Languages : JavaScript : Event handling

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

36 of 54 people (67%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How can I perform a find across multiple frames? I've tried capturing 'ctrl-f' but the system gets a hold of it first, before my script.

Nov 15th, 2002 08:15
Russ Locke, Jean-Bernard Valentaten, Colin Fraser,


You cannot capture "ctrl-f" it is system reserved, so you may want to 
use something like in the keypress example I offered in DHTML. 
If you look at that example, then modify it for your own use, you will 
still have to alert the user that other hot keys are available to them. 
Instead of using hotkeys why not just use a string search script from a 
form?