jQuery .on() at ajax success
You can use .ajaxSuccess()
$(document).ajaxSuccess(function() {// will do something});
or bind to
$(document).on('ajaxSuccess','#elementInsertedByAjax',function(){ // will do something});
You can use the ajax global event jQuery.ajaxSuccess
$(document).ajaxSuccess(function() { $( ".log" ).text( "Triggered ajaxSuccess handler." );});