如题!
解决方案 »
- 求教~为什么程序只能在Editplus中运行,IE和谷歌都不行?
- 怎样通过javascript调用dll
- 讨论系统调试方法, 可否完全克隆dom
- fckeditor提示"未知命令名称"高手帮忙解决
- 加入html编辑器后,无法判断有无文本??? 急急~~
- 类似3721里的可拖动图层如何做(可以保存拖动位置)
- 关于JS 联动,下拉框选项前后选择个数不同
- 如何取得一个输入框的 value="[xxxx] yyyyy" 中“[xxxx]”部分和 yyyyy 部分
- 如何使窗口一打开就没有滚动条?
- 关于checkbox的选择问题
- 关于实现一个类似于密码输入框的功能
- 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, 日期控件实例对象){}
});