开发者

Jquery datetimepicker problem

$('#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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜