bootstrap jquery show.bs.modal event won't fire
jquery, modal-dialog, twitter-bootstrap-3
Solution
use this:
$(document).on('show.bs.modal','#myModal', function () {
alert('hi');
})
Problem
i'm using the modal example from the bootstrap 3 docs. the modal works. however i need to access the show.bs.modal event when it fires. for now i'm just trying: ``` $('#myModal').on('show.bs.modal', function () { alert('hi') }) ``` Nothing happens, the event does not fire. What am I doing wrong??? This doesn't make sense to me.