javascript - Django Bootboxjs shows nothing -


i can't run it. i've added file js folder. connected it:

    <script type="text/javascript" src="{% static 'js/bootbox.min.js' %}"></script> 

i have done other files think works.

i've tryed simple code page, there no dialog.

    <p>content here. <a class="alert" href=#>alert!</a></p>  <!-- js dependencies --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="bootstrap.min.js"></script>  <!-- bootbox code --> <script src="bootbox.min.js"></script> <script>     $(document).on("click", ".alert", function(e) {         bootbox.alert("hello world!", function() {             console.log("alert callback");         });     }); </script> 


Comments