Tempus-dominus: Date Time Picker not working in IE 11.

Created on 20 Jun 2016  路  5Comments  路  Source: Eonasdan/tempus-dominus

Date time picker is not working in Internet Explorer 11. However it is working fine in Mozilla and Chrome. I'm using jQuery v 1.12.4 and implemented my script in a ASPX web form.

Most helpful comment

Hi, @lopezdp what error are you getting becasue I just tested it out on IE11 and currently no problem, this on a W10 (no, no the internal mode of EDGE)

and it's working for me in this fiddle

imagen

All 5 comments

How did you implement your script? Did you embed an element in a function using back ticks? Please let me know. I have a similar issue and I am trying to resolve it.

Hi, @lopezdp what error are you getting becasue I just tested it out on IE11 and currently no problem, this on a W10 (no, no the internal mode of EDGE)

and it's working for me in this fiddle

imagen

I have it working now. Apparently IE v.11 has no support for ES6 and I was using back ticks to embed HTML in my JavaScript...

I went back and removed the back ticks, added double quotes, concatenated every line and added forward slashes to the quotes that define my css classes (")...

It's beautiful. Thanks!

Hi, I'll be closing this as there's no feedback from original poster, feel free to re open it if need it.

Old issue, but for me this was solved by including the Object.assign polyfill:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill

Was this page helpful?
0 / 5 - 0 ratings