开发者

Jquery datetimepicker problem

开发者 https://www.devze.com 2023-03-19 14:39 出处:网络
$(\'#brandTimeStamp\').datetimepicker({ dateFormat: \'mm/dd/yyyy hh:mm:ss\' }); datetimepicker() jQuery is not working properly in Firefox.
$('#brandTimeStamp').datetimepicker({
    dateFormat: 'mm/dd/yyyy hh:mm:ss' 
});

datetimepicker() jQuery is not working properly in Firefox.

Whenever I try to change the value of date then it adds 100 years to date.

This code is working fine in IE开发者_JS百科.

Please suggest solution to this problem.


As I believe it, the date format in javascript doesn't require yyyy for the year. To get a date as 11/07/2011 your date format will need to be dd/mm/yy

0

精彩评论

暂无评论...
验证码 换一张
取 消