Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 显示脚本的jQuery错误对象应为_Javascript_Jquery - Fatal编程技术网

Javascript 显示脚本的jQuery错误对象应为

Javascript 显示脚本的jQuery错误对象应为,javascript,jquery,Javascript,Jquery,我在第400行char:1处得到脚本错误对象。错误在脚本的第一行。请建议如何修复此错误 <% taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page"%> <% taglib prefix="c" uri="http://java.sun.com/jso/jstl/core"%> <script type="text/javascript"> $(document).re

我在第400行char:1处得到脚本错误对象。错误在脚本的第一行。请建议如何修复此错误

<% taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page"%>
<% taglib prefix="c" uri="http://java.sun.com/jso/jstl/core"%>

<script type="text/javascript">
    $(document).ready(function(){ // error pointing at this line 

    });       
</script>

$(document).ready(function(){//指向此行时出错
});       

您能试试下面的代码吗,我想您忘了包括jQuery库

<script src="http://code.jquery.com/jquery.min.js" type="text/javascript"></script>              
<script type="text/javascript">
    $(document).ready(function(){ // error pointing at this line 

    });       
</script>

$(document).ready(function(){//指向此行时出错
});       

您是否加载了jQuery库?请向我们展示您的尝试。请编辑代码,展示如何包含jQuery