$('#book_date2').datepicker({ onSelect: function(dateText, inst) {
calc()
} });
为什么函数无法执行触发?
直接写alert()也没反应,要不给个demo
追答html
<div id="book_date2"></div>js
$('#book_date2').datepicker({ onSelect: function(dateText, inst) {