问题
I found this example working on 3.0.0 rc1
http://plnkr.co/edit/HWSgSw?p=preview
But when I change it to point to 3.0.0 final it stop working. Why? Thanks
回答1:
Replace
<a href="first.html" data-target="#myModal" role="button" class="btn btn-default" data-toggle="modal">Launch First</a>
<a href="second.html" data-target="#myModal" role="button" class="btn btn-default" data-toggle="modal">Launch Second</a>
with
<a href="#myModal" data-target="#myModal" role="button" class="btn btn-default" data-toggle="modal">Launch First</a>
<a href="#myModal" data-target="#myModal" role="button" class="btn btn-default" data-toggle="modal">Launch Second</a>
来源:https://stackoverflow.com/questions/19182147/remote-modal-works-on-bootstrap-3-0-0rc1-but-doesnt-in-3-0-0-final