How do I force the keyboard to stay open in Safari?

Is there a manual way to force the keyboard to be displayed whenever I want in Safari?
I know it will pop up when I click on Search or the address bar, but I need to have it displayed while I'm reading a web page.

Thanks.
Roxy

IMAC G5, Mac OS X (10.5.8)

Posted on Jan 31, 2011 12:24 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 24, 2012 6:00 AM

If anyone is still interested, here is the closest I could get to a solution.


If the iPhone or iPad wants a text field, give it one. Create it immediately before the area your keystrokes will populate, then do everything you can to hide it.


<input type="text" id="keyboardtrigger" style="position: relative; top: 100px; background-color: transparent; border: transparent; height:0px;" />


Now, every event where you want to make the keyboard visible, add the Javascript line

$("#keyboardtrigger").focus();


And the keyboard appears. Take the focus away from the text box and it dissapears.


Just a couple of notes:-

  • You will get a very small blinking cursor - hopefully not too much of a problem
  • The keyboard works, but cursor movements and mouse drags for selecting your text doesn't. That is a totally different problem. Like the keyboard, they really only work in a text field.
20 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I force the keyboard to stay open in Safari?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.