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
Ajax.ActionLink
What worked for me was -
Inside the dialog, if I have multiple inputs with class datepicker , then
datepicker
$(".datepicker").removeClass('hasDatepicker').datepicker();
Basically, to remove the class hasDatepicker before initializing datepicker again.
hasDatepicker
I was on version 1.8.18 of jquery.ui.datepicker