您必须在 bootstrap.js 之前包含 jQuery.js!
并且不要对脚本使用简化的 html 形式。(like <script scr=""/>
) 必须像关闭它一样<script scr=""></script>
)
<!-- JQuery -->
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js'></script>
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<!-- BootStrap Link -->
<link rel="stylesheet" type="text/css" href="/linker/styles/vendor/bootstrap.css">
<script type="text/javascript" src="/linker/js/vendor/bootstrap.js"></script>
文件准备好后你有没有调用$('#creative_attachment_popup').modal('show');
这个?
$(function() {
$('#creative_attachment_popup').modal('show');
});