![](/img/trans.png)
[英]Jquery Ui Datepicker month/year dropdown is not working in popup in latest firefox
[英]jquery datepicker issues with month and year dropdown on a blockUI popup
我正在为我的应用程序使用jquery日期选择器插件,奇怪的是,在将其附加到表单元素中并且上面的整个过程发生在块UI弹出组件中之后,它没有显示下拉菜单
尽管提到更改月份和更改年份为true,但它不起作用,这是我编写的代码,单击选择框后,下拉列表不出现
$("#dateFrom").datepicker({
yearRange: '1900:2030',
changeMonth: true,
changeYear: true,
minDate: new Date(),
dateFormat: 'dd-mm-yy'
});
有人请帮助我
试试这个代替
$( "#datetextbox" ).datepicker({
//set true to show months
changeMonth: true,
//set true to show year
changeYear: true,
//set date for date range
minDate: new Date(2012,1,23),
maxDate: new Date(2013,1,26),
//set if you want icon to be visible
showOn: "button",
buttonImage: "/images/cal.gif",
buttonImageOnly: true
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.