Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的网站出现错误。错误是:
时间戳:10/17/2012 8:27:23 PM 错误:TypeError:$ 不是函数 源文件:我的站点/js/bootstrap.js 的路径 行:23
如果这与其他一些 jQuery 文件冲突,我该如何删除它?
大概你错过了 jQuery。确保在包含 Bootstrap 之前将其包含在页面中。
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
你的写作顺序和上面一样吗?