call jquery after ajax call
.ajaxComplete() fires after completion of each AJAX request on your page. $ ( document ). ajaxComplete ( function () { yourFunction (); }); .ajaxStop() fires after completion of all AJAX requests on your page. $ ( document ). ajaxStop ( function () { yourFunction (); });