https://stackoverflow.com/questions/5610321/execute-document-ready-after-ajax-post
Combining Ben and fotanus' answers I created the following pattern:
$(document).ready(function () {
AjaxInit()
});
$(document).ajaxComplete(function () {
AjaxInit()
});
function AjaxInit() {
alert("test");
}
No hay comentarios:
Publicar un comentario