I'm trying to open a modal using a fragment
<link rel="stylesheet" href="/static/bootstrap/css/bootstrap.css"> <script src="/static/bootstrap/js/bootstrap-modal.js"></script> <script type="text/javascript" src="/static/bootstrap/js/bootstrap.js"></script> <div class="modal hide" id="myModal"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h3>Modal header</h3> </div> <div class="modal-body"> <p>One fine body…</p> </div> <div class="modal-footer"> <a href="#" class="btn" data-dismiss="modal">Close</a> <a href="#" class="btn btn-primary">Save changes</a> </div> </div> <a class="btn" data-toggle="modal" href="#myModal" >Launch Modal</a>
copied from the documentation. Clicking on the button takes you to the link #myModal, unlike the documentation, where the modular window appears. Why? Thank you in advance.