0

I am not sure if I wrote the right title but..

I am using jQuery Datepicker,it works just fine, but on iphone as you click on input area to choose a date it brings calender which is good but it brings up keyboard too and calender stays under the keyboard..

How can I change it so that as you click on input area it brings up only datepicker calender and not the text keyboard..

How I use it:

 <input type="text" id="from" class="datePicker" name="from" placeholder="Select Date">

I hope that my question is clear..

Thanx in advance!

1 Answers1

0

Change the readonly property of your textbox to true, thus eliminating the input field so that the phone only recognises it as the datepicker you have defined it as. This will make sure the phone doesnt display a keyboard.

DeeKayy90
  • 837
  • 1
  • 13
  • 27