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:
use this:
$(document).on('show.bs.modal','#myModal', function () { alert('hi'); })