Working in MVC project and using different browser's, I ran into this issue with the date picker supported natively in Chrome but not in IE.
@Stephen Muecke pointed the reason of the problem:
Refer comparision here. The type="date" attribute is not supported in either IE-11 or FireFox-38 so you're out of luck for the time being.
@section Scripts {
/* ... */
<script type="text/javascript">
/* ... */
if (!Modernizr.inputtypes.date) {
$('.datepicker').datepicker();
}
});
</script>
Source
https://stackoverflow.com/questions/31099367/datetime-picker-doesnt-appear-in-internet-explorer-and-firefox-with-bootstrap
No comments:
Post a Comment