fire function after bootstrap modal closes code example Example: close bootstrap modal with javascript $('#myModal').modal('hide');