Javascript 显示脚本的jQuery错误对象应为
我在第400行char:1处得到脚本错误对象。错误在脚本的第一行。请建议如何修复此错误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
<% 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