jQuery Datepicker: Prevent closing picker when clicking a date

后端 未结 9 2206
南方客
南方客 2020-11-29 08:16

Hi fellow stackoverflow:ers,

I\'m using the jQuery Datepicker plugin, together with Martin Milesich Timepicker plugin. Everything works great, except for the fact th

9条回答
  •  庸人自扰
    2020-11-29 08:57

    Cool, if you are using jquery-ui-1.8.5.custom.min.js and jquery-ui.multidatespicker.js, you could modify the jquery-ui-1.8.5.custom.min.js: from:

    if(a.inline)this._updateDatepicker(a);
    

    into:

    if(a.inline || !this._get(a, 'closeOnSelect'))this._updateDatepicker(a);
    

提交回复
热议问题