开发者

Javascript issue with Dates

I am having some issues with javascript & using dates (in conjunction with the jQuery datepicker)

The code below gives me an error date.g开发者_如何学编程etTime is not a function endDate.setTime(date.getTime());

http://pastebin.com/Bgpw3QHF

Can anyone explain the problem?


Replace date by endDate. You've got a variable name mismatch.

endDate.setTime(date.getTime());   //current
endDate.setTime(endDate.getTime());//Should be
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜