Pravendra Yadav

Sunday, August 19, 2018

Prevent keyboard popup on datepicker for mobile devices

I had this same problem a couple months ago. My solution was to use readonly="true" in input flied. You can see an example on my page here:  https://www.minibustransports.com . This means users must be select the date on the calendar popup only, and the keyboard won't on mobile devices because the user can't input text.
Here is the code:
<input type="text" id="return_date" readonly="true">
       
Copy
I hope this help. Let me know if you have any questions to use this
at August 19, 2018 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Upwork HTML5 Test 2018 Questions Answers (Top 10%)
  • Prevent keyboard popup on datepicker for mobile devices
  • WordPress Test Questions Answers (Top 10%)
  • Upwork English Spelling Test (U.S. Version) 2018 Questions Answers
  • Bootstrap Test Questions Answers (Top 10%)
  • Upwork CSS Test questions answers (Top 10%)
  • G Suite Emails going to Spam Folders
  • How to Fix Render-Blocking JavaScript and CSS in WordPress
  • Install Facebook Pixel on Client Website

Blog Archive

  • ▼  2018 (8)
    • ►  November (5)
    • ▼  August (1)
      • Prevent keyboard popup on datepicker for mobile de...
    • ►  July (1)
    • ►  June (1)
  • ►  2017 (1)
    • ►  October (1)
Simple theme. Theme images by centauria. Powered by Blogger.