Date Picker for iPhone Web Application

What is the best way to show Date Picker for iPhone based web application. Can we show something like our own iPhone date picker, as shown below in a web application:

iOS Date Picker

+47
iphone datepicker
Dec 23 '08 at 12:59
source share
9 answers

The easiest way (and possibly the best way) is to use the safari built into datepicker for your input window using HTML5 type = "date"

<input type="date" /> 
+119
Jan 08 '12 at 1:50
source share

The browser has a built-in date picker in the style of the iPhone - http://cubiq.org/spinning-wheel-on-webkit-for-iphone-ipod-touch/11

+35
Oct 29 '09 at 20:30
source share

I know this old post, but for future viewers: If you use jQuery, you can try Mobiscroll , a custom feed optimized for touch devices. It comes with iOS and Android skin.

+12
Sep 05 '11 at 12:05
source share

Although the need for registration may be unloving , Mobiscroll is worth evaluating if you want to provide consistent rollback for older ios (pre 5.x) and android (pre 4.x) - and maybe some other platforms, as it promises to support jQMobi (now an application for Intel applications) and Zepto.

+1
Apr 2 '13 at 17:29
source share

There is iPhone-style date picker for HTML5 at Next-Point . Perhaps you can change it to suit your needs.

+1
Jun 04 '13 at 13:05
source share

You can not. Date Picker is a native control and is not available in Mobile Safari.

0
26 Dec '08 at 2:39
source share

Well, you could encode your own if that were really important to you.

With enough work, you can probably make her look / feel like Apple’s own control.

It feels at the gut level, as it would be a great job for a limited gain.

0
Jan 02 '09 at 2:25
source share

In ASP.Net, you can use a TextBox with type = "date".

 <asp:TextBox type="date" runat="server" /> 

In a browser compatible with Html5, you will have a date field. In an incompatible Html5 browser, you will have a simple text box.

0
Feb 01 '13 at 9:21
source share
 <input type="date" /> 

the above code will NOT work on mozilla.

firefox does not support type input date.

0
Nov 10 '17 at 10:05
source share



All Articles