I\'ve made use of modal window for a wizard implementation which has around 4,5 steps. I need to destroy it completely after the last step(
If you have an iframe in your modal, you can remove its content by the following code:
$('#myModal').on('hidden.bs.modal', function(){ $(this).find('iframe').html(""); $(this).find('iframe').attr("src", ""); });