Javascript Firebug错误

Ayu*_*ush 0 javascript jquery firebug

我有一个JavaScript代码coupon.js定义如下 -

jQuery(document).ready(function(){
jQuery('.appnitro').submit( function() {
$.ajax({
 url : $(this).attr('action'),
 type : $(this).attr('method'),
 dataType: 'json',
 data : $(this).serialize(),
 success : function( data ) {
 for(var id in data) {
 jQuery('#' + id).html( data[id] );
 }
 }
 });
Run Code Online (Sandbox Code Playgroud)

现在Firebug抛出以下错误 -

jQuery is not defined
[Break on this error] jQuery(document).ready(function(){\n
Run Code Online (Sandbox Code Playgroud)

有人可以解释错误和删除它的方法吗?提前致谢.

Dar*_*rov 6

head在任何其他脚本之前将其放入页面的部分:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
Run Code Online (Sandbox Code Playgroud)