...

View Full Version : Submit button that links to find option



Vapor
05-26-2005, 06:10 PM
Is there a way to create a Button that you push that brings up the find option on windows?

Eternity Angel
05-26-2005, 06:51 PM
Ctrl + F. :-)

JS can't do this though, so, no.

rlemon
05-26-2005, 07:15 PM
Ctrl + F. :-)

JS can't do this though, so, no.

Sorry but your wrong,

JS can do this but only for gecko browesers (Netscape, Mozilla, FireFox, ect)

This WONT work in IE.

window.find();


so,

function opnFind(){
if(document.all){
alert('Your Browser does not support this operation!');
} else {
window.find();
}
return;
}


then

<input type="button" id="openFind" name="openFind" value="Find" onClick="opnFind()">


that should do it for ya!

EDIT:::

Also, I have no clue what opera does with this code.

Vapor
05-26-2005, 07:24 PM
Thanks,

But I needed it to work mainly in IE
:(

rlemon
05-26-2005, 07:35 PM
Review the code I posted at the bottom of this post.

http://codingforums.com/showthread.php?t=59868

may help you out.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum