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.
You can test, which elements of new HTML5 standard are supported by which browser by just opening site like http://html5test.com/ in your browser
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With