View Full Version : Submit button that links to find option
Vapor
05-26-2005, 05: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, 05:51 PM
Ctrl + F. :-)
JS can't do this though, so, no.
rlemon
05-26-2005, 06: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, 06:24 PM
Thanks,
But I needed it to work mainly in IE
:(
rlemon
05-26-2005, 06:35 PM
Review the code I posted at the bottom of this post.
http://codingforums.com/showthread.php?t=59868
may help you out.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.