Bootstrap Event for modal, executing JS before modal popup
Bootstrap provide some event which can be hook on modal functionality. "show.bs.modal" is a event used to hook a function just befor a modal window popups. Below is an example how you can acheive this using "show.bs.modal".
Below are some events available with bootstrap which can be hooked:
[caption id="attachment_1082" align="alignnone" width="300"] bootstrap events[/caption]
[si-contact-form form='1']