Created
July 17, 2014 13:36
-
-
Save DBasic/3fde15b61c81178c12f2 to your computer and use it in GitHub Desktop.
Prevent iPhone default keyboard when focusing an <input>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
By setting the input field to readonly="true" you should prevent anyone typing anything in it, but still be able to launch a click event on it. | |
This is also usefull in non-mobile devices as you use a date/time picker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment