iPhone Web应用程序的日期选择器 [英] Date Picker for iPhone Web Application
本文介绍了iPhone Web应用程序的日期选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
alt text http://dailycoding.com/FileSharing/iPhone_DatePicker.png
解决方案
最简单的方法(和可以说是最好的方法)是使用HTML5 type =date
<输入使用safari的内置datepicker的输入框type =date/>
What is best way to show Date Picker for iPhone based Web Application. Can we show something like iPhone native date picker like shown below in web application:
alt text http://dailycoding.com/FileSharing/iPhone_DatePicker.png
解决方案
The easiest way (and arguably the best way) is to use safari's built in datepicker for your input box using HTML5 type="date"
<input type="date" />
这篇关于iPhone Web应用程序的日期选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文