Is there someone out there that has a good date picker for jQuery mobile?
I'm going to let the user select a "from" date and a "to" date and I haven't found anything good for this situation.
Any ideas?
Is there someone out there that has a good date picker for jQuery mobile?
I'm going to let the user select a "from" date and a "to" date and I haven't found anything good for this situation.
Any ideas?
By this time you may know, jquery mobile 1.4.5 has one (with a plugin): http://demos.jquerymobile.com/1.4.5/datepicker/
Here is the full code from Juery document:
Notices: DateFormat have 5 options :
1.mm/dd/yy
2.yy-mm-dd
3.d M, y
4.d MM, y
5.DD, d MM, yy
6.'day' d 'of' MM 'in the year' yy
here is a copy of my answer to another post here, related to how integrate jqueryui datepicker in jquerymobile framwework..hope it helps, like it would have helped me if it was existing :)
after a lot of search on Internet, especially comparing datebox and jqueryui datepicker (mobiscroll and mobipick are no good to me as i'am looking for a calendar view, i got to the point where i decided to use ui datepicker for few reasons :
I used it with :
using datepicker with more recent versions breaks the layout on month/year change.
from here, i got the files i needed. I used several answers i found on different stackoverflow questions, to make the following changes :
jquery.ui.datepicker.mobile.js new code :
i use on() instead of click event and i preventDefault on click on month/year select menu.
And i use it this way :
with beforeShowDay being a function returning an array (see jqueryui datepicker manual).
It works for me this way and i now i just need to add events to only show calendar when date input got focus.
A link to jsbin example
I suggest Datebox
https://github.com/jtsage/jquery-mobile-datebox
or Mobiscroll
http://mobiscroll.com/
If you want something in an Android flavour, try my very own Mobi Pick
http://mobipick.sustainablepace.net/
Try Mobiscroll Plugin. Its an awesome plugin. My experience with it has really been good. I have a live example of it with respect to setting a "start date" and "end date". You can check this example on jsFiddle
Thanks to Gajotres for providing initial help
Try Mobiscroll, a customizable datepicker optimized for touch devices