jQuery datepicker only works once and is not shown the second time

后端 未结 10 1319
庸人自扰
庸人自扰 2021-01-02 06:32

ASP.NET MVC3 / jQuery 1.9.1 / jQuery UI 1.10.2

I\'ve got a page on which I open a modal dialog after clicking on an Ajax.ActionLink. Inside this dialog

10条回答
  •  北海茫月
    2021-01-02 06:52

    I had the same problem, and I solved with

    $("#ui-datepicker-div").remove();
    

    after closing and destroying the popup.

提交回复
热议问题