I am trying to figure out if it is possible to add a bootstrap modal to an even listener. Essentially, I am trying to make my event listener listener for a click anywhere on a page and then display a modal. Is it even possible? I don’t know what the function should look like for this..
You can try this using JQuery:
$(document).click({
$('#myModal').modal('show');
})