Why does the type="date" work in Chrome but not IE:
<input name="start_date" type="date" value="<?php echo $today;?>" autocomplete="off" required="required">
If you need more information let me know. Thanks!
input type='date' is an HTML 5 feature. As such, it is not implemented by all browsers yet, and will not be supported by older browsers like IE 7 and 8.
http://caniuse.com/#search=date
You should use a polyfill with javascript to handle these cases and provide a consistent user experience on browsers that dont support HTML5.
您可以通过在浏览器中打开http://html5test.com/等网站来测试哪些浏览器支持新HTML5标准的哪些元素
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.