折腾:
[已解决]jQuery的datetimepicker出错:Uncaught TypeError Cannot read property formatDate of null
之后,虽然可以选择年份和月份的:
但是无法点击选择日期。。。
点击不了,没法选择具体的日期。。。
搜:
datetimepicker jquery can not select date
参考:
jquery ui datepicker cannot select date – Stack Overflow
jquery – Datepicker does not select any dates if instantiated after AJAX – Stack Overflow
datetimepicker jquery cannot select day
jQuery UI DatePicker: Disable Specified Days
改为:
jQuery(document).ready(function() jQuery(‘#datetimepicker’).datetimepicker({datepicker: true}) }); |
问题依旧。
datetimepicker click day
JQUERY-UI: Datepicker – Disable day click event – Stack Overflow
javascript – jquery bootstrap datepicker click event just firing once – Stack Overflow
jQuery UI datepicker – Trying to capture click event from date clicked – Stack Overflow
$(‘#datetimepicker’).datetimepicker({ //DateTimePicker – XDSoft plugins, scripts, program, parsers //http://xdsoft.net/jqplugins/datetimepicker/ id: "datetimepicker", lazyInit: true, onSelectDate: function () { myApp.alert(‘clicked datetimepicker’); } }); |
问题依旧。
On select day event? · Issue #897 · Eonasdan/bootstrap-datetimepicker
javascript – Do event after click , Datepicker bootstrap – Stack Overflow
[后记]
实在不行,有空去试试:
Eonasdan/bootstrap-datetimepicker: Date/time picker widget based on twitter bootstrap
转载请注明:在路上 » [未解决]jQuery的datetimepicker无法选择日期