twitter-bootstrap中modal的加载新页面

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<link href="docs/assets/css/bootstrap.css" rel="stylesheet">
<link href="docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
<script src="docs/assets/js/jquery.js"></script>
<script src="docs/assets/js/bootstrap.js"></script>


<a class="btn-info" data-toggle="modal" data-url="docs/getting-started.html" href="#infoModal">远程信息</a>
<div class="modal" id="infoModal"></div>
<script>
$("a[href=#infoModal]").click(function(){
    $("#infoModal").load($(this).attr("data-url"));
});
</script>