-2

When we click outside the Div of Bootstrap Popup , the popup closes . How to track the close-event of Bootstrap Popup ?

Siguza
  • 21,155
  • 6
  • 52
  • 89
Pranav Kumar
  • 249
  • 1
  • 5
  • 16
  • possible duplicate of [How to handle the modal closing event in Twitter Bootstrap?](http://stackoverflow.com/questions/12319171/how-to-handle-the-modal-closing-event-in-twitter-bootstrap) – LeoStotch Aug 08 '14 at 15:18
  • Possible duplicate of [Bind a function to Twitter Bootstrap Modal Close](https://stackoverflow.com/questions/8363802/bind-a-function-to-twitter-bootstrap-modal-close) – Sinjai Aug 08 '17 at 18:43

1 Answers1

0

Possible duplicate of Bind a function to Twitter Bootstrap Modal Close

This is already answered here: https://stackoverflow.com/a/13201843/2332336

Bootstrap 3

$('#myModal').on('hidden.bs.modal', function () {
    // do something…
})

http://getbootstrap.com/javascript/#modals -> Events

Bootstrap 2.3.2

$('#myModal').on('hidden', function () {
    // do something…
})

http://getbootstrap.com/2.3.2/javascript.html#modals -> Events

Community
  • 1
  • 1
Latheesan
  • 23,247
  • 32
  • 107
  • 201