View Full Version : Is there a way to launch Edit -> Find (on This Page) from a button?

Angry Coder
10-28-2003, 08:39 AM
Hello :)

Because I don't want to tell my users to go to Edit menu then click Find (on This Page).

Thank you..

10-28-2003, 09:02 AM
For Netscape, you can invoke the Edit-Find dialog by:

window.find([string[, caseSensitive, backward]])

where string is the string to find, caseSensitive and backward are booleans. All the arguments are optional, so you may just call window.find().

Look for a cross-browser Edit-Find script in dynamicdrive.com. There's one in there.

Angry Coder
10-28-2003, 04:31 PM
Many thanks... what about IE?

10-28-2003, 05:07 PM
Originally posted by Angry Coder
Many thanks... what about IE?

[QUOTE]Originally posted by glenngv
Look for a cross-browser Edit-Find script in dynamicdrive.com

Angry Coder
10-28-2003, 08:09 PM
I am NOT blind :p

The one in DD is NOT what I am talkling about.

10-29-2003, 01:28 AM
I don't think you can programmatically bring up the Edit-Find dialog in IE. You can modify the DD script to make it look like the real Find dialog.