I have a small project using MVC5, C# and jQuery with Bootsrap.
In my web app I am loading a partial view dynamically using Ajax, like in the example below:
$.get(refreshTable, function (data) {
$("#packagesTable").replaceWith(data);
});
Everything works fine excpet for one little detail: I want to run a success notification only when the partial view finishes loading:
successNotification("Package edited successfuly!");
Is this possible? and if yes, how?