If a remote URL is provided, content will be loaded via jQuery’s load method and injected into the root of the modal element.
<a data-toggle="modal" href="to-another-url-page" data-target="#myModal">Click me !</a>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body"><div class="te"></div></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
当然,最详细的文档在这里:http://getbootstrap.com/javascript/#modals
Modals中文说明:http://www.w3schools.com/bootstrap/bootstrap_modal.asp
原文:Bootstrap 3 添加外部页面到弹出窗口Bootstrap 3 with remote Modal