I have created a website and have added a button and lot of text. What I want is to use the browser search (Ctrl+F), when I press the button which I added in website.
How can I achieve this?
"Control+F" (or "Command+F" on a Mac) is the keyboard shortcut for the Find command. If you're in a document or in a web browser, pressing the Ctrl key + the F key will bring up a search box in the top right corner of the screen.
If you don't like the Ctrl-F shortcut, in most browsers you can use F3 instead.
Ctrl+F makes a page search and with Docs, the document IS the page, thus Chrome considers it as the same thing and it overrides the browser page search.
It kind of works for FF. See this page
<a href="#" onclick="find();">Find in This Page...</a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With