Search code examples
javascriptjqueryjquery-uijquerydatetimepicker

Jquery datapicker CSS not working in IE11


I have referred to this datepicker to use in my UI

http://jsfiddle.net/2AaFk/1/

it is working perfectly.

when i copied to work in my UI css is not not working in IE11.

here i have created a plunker link for your reference.

this is what i have done.

https://plnkr.co/edit/D7BmYM1Bb2eZfiZMdk9g?p=preview

jquery

if ( $('#test')[0].type != 'date' ) $('#test').datepicker();

this date picker is working in chrome, but css is not working in IE11. can anybody help me.


Solution

  • Just add the CSS. JsFiddle does that for you. For instance, add it from a CDN

    https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.9.2/themes/base/jquery-ui.css

    source: https://cdnjs.com/libraries/jqueryui

    enter image description here