如题!
解决方案 »
- js读取指定路径下xml文件 拒绝访问
- 怎么在小窗口调用数据库里的数据!!!
- JSP 从“file”和“page”两个属性角度阐述动态include与静态include的区别
- js "缺少对象" 急求解决办法
- jw player进度条禁止拖动
- 请问 只能输入数字和,(逗号)的javascript的正则表达式
- 关于提取字符串中取指定字符的问题
- 请教各位高手,网页上左右抽拉的表格怎么实现的?
- 哪位大哥知道由没有好的javascript的编辑器 由自动提示功能 输入一个对象后他的所有属性和方法有提示
- 如何判断一个文件是否存在?
- 关于实现一个类似于密码输入框的功能
- javascript操作DOM导致浏览器产生回流操作
绑定onSelect事件
$(".datepicker").datepicker({
inline: true,
changeMonth: true,
changeYear: true
}); //属性指定
$(".datepicker").datepicker('option', {dateFormat: 'yy年m月d日'}); $(".datepicker").datepicker('option', 'dayNamesMin', ['日', '月', '火', '水', '木', '金', '土']);
$(".datepicker").datepicker('option', 'monthNamesShort', ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']);
$('.selector').datepicker({
onSelect: function(dateText, inst) { ... }
});
inline: true,
changeMonth: true,
changeYear: true,
onSelect:function(){}
});
inline: true,
changeMonth: true,
changeYear: true,
onSelect:function(dataText, 日期控件实例对象){}
});