I am showing a Bootstrap modal window for loading when performing AJAX calls. I broadcast a \"progress.init\" event when the loading modal should show and a \"progress.finis
Use a close button in modal, this method is working fine:
After success use:
$('#model_form').trigger("reset"); // for cleaning a modal form $('#close_model').click(); // for closing a modal with backdrop