Log in

View Full Version : Can we open browsers find window with Active X



sowjanya
11-15-2007, 03:28 PM
Hi All,

I have to open the browsers find window from with in my application. I googled it but couldn't find any function to open the find window. I am just curious if we can open a window that has same effects as pressing CRTL+F from the browser.

Thanks,
Sowjanya.

jscheuer1
11-15-2007, 03:53 PM
What one can do in javascript is to make up one's own 'search the text on this page utility'. Due to differences in browsers though, this is rather a complex proposition.

Here's one that works in IE and FF:

http://www.dynamicdrive.com/dynamicindex11/findpage.htm

sowjanya
11-15-2007, 05:11 PM
Thank you for your quick response. So can we do that with Active X controls in IE, i.e when the button is clicked can I invoke that particular Active X control to open the browsers search window?

boxxertrumps
11-27-2007, 06:25 PM
No, activeX doesn't work in 99% of browsers, and 60% of users who can use it disable it.

Sorry.

djr33
11-27-2007, 07:12 PM
Well, that's an odd way of phrasing it. ActiveX only works in IE [on windows at that], and it varies version to version. Lots of people do use IE, so it's not exactly 99% (except that "all but one of all browsers don't have IE"), but, still, many users do have it deactivated, especially anyone with a clue. Only those who don't will use ActiveX and IE.