JQuery ui datepicker wont work on mobile safari. Any workaround or fallback?
+1
A:
Well what you could try is to enable users to select their date trough 3 dropdown boxes. one for the years, one for the months and one for the days. Make sure your years range is wide enough to support all ages ;)
This way if their javascript isn't working correctly they can always select the date trough dropdowns.
something like this:
RJD22
2010-07-09 07:52:18
Always check the year part... I tried to order some ram from crucial last year, and their credit card end date drop down didn't go high enough for my card, so I couldn't buy it.
SLC
2010-07-09 08:44:02
I think'll just use the placeholder Attribute from HTML 5 as a fallback (works on iphone) and try to validate the entered date afterwards
Urs
2010-07-16 00:57:41
Just wondering why didn't you select mine as answer then? :P
RJD22
2010-07-16 07:25:11
Sorry, I'm not so much into this rating business yet
Urs
2010-07-17 11:03:52
A:
jQuery is currently being tested on Mobile devices, not sure if it is jQuery UI as well (John Resig's Tweets come in handy).
So until it becomes available for mobile devices, you could look up other JavaScript datepickers as one fallback.
Or do 3 drop down boxes as use JavaScript to combine the to make the full date.
Some usefull link that might help you:
... a pity you can't use the iPhone's native datepicker, even with HTML5 type="date"
Urs
2010-07-09 10:22:10