Call event when modal dialog close.
1 2 3 4 5 6 7 8 9 |
//Close event of modal dialog $('#myModal').on('hidden', function () { // do something… }); |
the close event of modal dialog does not work from above
Try Below code
1 2 3 4 5 6 7 8 9 10 |
// Close event of modal dialog $(document).on('hide.bs.modal', '#modelMaps', function () { console.log(“Its working fine"); }); |
More Stories
Convert Unix Time to other Time Zone in Java script
Clone (Copy) with selected value using jQuery
html5 capture image from camera