7 ms·
On the $(document).ready call change: var d = new Date(element.name); to var d = Date.parse(element.name); This will solve the "undefined NaN, NaN:aN
by program 13y ago
On the $(document).ready call change:
var d = new Date(element.name);
to
var d = Date.parse(element.name);
This will solve the "undefined NaN, NaN:aN PM" issue.
- jellyksong 13y agoChanged, thanks!