开发者

Jquery UI DatePicker not working - jsfiddle included

you will have to expand the "run" pane so you can see the whole date picker.

Pick a date with the first picker. Then go to pick a date with the second. It's trying to prevent you from picking a later date rather than an earlier one. Funny thing is I copied the demo directly, and the demo works....

http://开发者_如何学Pythonjsfiddle.net/kralco626/KKhZg/3/

Also does not work using 1.5.1 which is the version used in the demo http://jsfiddle.net/kralco626/KKhZg/5/

Version that uses the same exact script and link calls for jquery as the demo. still works wrong. http://jsfiddle.net/kralco626/KKhZg/6/


I found the problem. You also need to change the from in the following line to your new ID:

var option = this.id == "from" ? "minDate" : "maxDate",

var option = this.id == "fromDate" ? "minDate" : "maxDate",
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜