$是jquery中的未定义错误

我在使用twitter bootstrap时收到此错误.我在html中使用它时没有收到此错误.我将它转换为wordpress主题,现在我收到了这个错误.
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$('.dropdown-toggle').dropdown()
</script>

我收到这些错误.

> bootstrap-dropdown.js第72行“$is undefined”.
>“$(”.dropdown-toggle“).dropdown不是一个函数

任何帮助深表感谢.
谢谢.

编辑:
我试过这个https://stackoverflow.com/a/9301017/759257

包括最新的jquery版本1.7.1,现在它的工作原理!

解决方法

您正在以错误的顺序加载脚本.首先加载jQuery,否则它将无法用于引导脚本.

相关文章

页面搜索关键词突出 // 页面搜索关键词突出 $(function () {...
jQuery实时显示日期、时间 html: &lt;span id=&quot...
jQuery 添加水印 &lt;script src=&quot;../../../.....
中文:Sys.WebForms.PageRequestManagerParserErrorExceptio...
1. 用Response.Write方法 代码如下: Response.Write(&q...
Jquery实现按钮点击遮罩加载,处理完后恢复 思路: 1.点击按...