Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery modal on show + target button

$('#delete-file-modal').on('show.bs.modal', function (event) {
    console.log(event.relatedTarget);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #modal #show #target #button
ADD COMMENT
Topic
Name
3+1 =