У меня возникают проблемы с вызовом функции после завершения загрузки jQuery AJAX
function to_be_executed_last {
alert("The Call Is Complete");
//some other stuff
}
$("a.jaxable_link").click(function(){
$.post($(this).attr('href'), function(data) {
$('#container').html(data);
//Execute the function to_be_executed_last here AFTER data has finished loading
})
})
Как я могу это сделать?
Спасибо