In my project there is a html modal function. When I click a button, a modal will pop up. This function works very well in my PC, however, in pythonanywhere, clicking the button won't trigger the modal. Just want to know if you can give any hints about this. thank you! Below is the html code
<button id = 'select_btn' type="submit" class="btn btn-success" data-toggle="modal" data-target="#exampleModal" {{msg.2}}>PICK</button>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Your List</h5>
</div>
<div class="modal-body">
<p id="checkid" name = "stockcode"></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary" form = "stkform">Save changes</button>
</div>
</div>
</div>
</div>