jQuery ui - datepicker prevent refresh onSelect

前端 未结 5 1293
一整个雨季
一整个雨季 2020-12-17 20:09

I\'m using jQuery ui Datepicker to display a yearly inline calendar full of \"special dates\" (with colors). \"enter

5条回答
  •  甜味超标
    2020-12-17 20:43

    If you just want to select a single day then you have to specify the Month and the Year in JQuery:

    $(".ui-datepicker-calendar TBODY [data-month='"+inst.selectedMonth+"'][data-year='"+inst.selectedYear+"'] A").each(function(){
    

提交回复
热议问题