I\'ve got a jQuery datepicker that is working great for me, except when I fresh the content via ajax, I lose the datepicker. From what I can tell I should be using jQuery on
You can not delegate plugin, delegation is for event listener only. Use the success callback function and reinitailize datepicker plugin once targeted element is added
success: function (data, textStatus) {
$("#content").html(data).find('[id^=startPicker]').datepicker({...});
},