运行功能时出现jscript错误 [英] jscript error when running function
本文介绍了运行功能时出现jscript错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿,当我尝试运行此脚本时,我得到以下错误,我不知道出了什么问题,将不胜感激
Hey all i get the following error when I try and run this script I have no idea whats wrong any help would be appreciated
0x800a138f - Microsoft JScript runtime error: The value of the property '$' is null or undefined, not a Function object
<pre lang="xml"><script src="Scripts/jquery-1.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$("tr").filter(function () {
return $('td', this).length && !$('table', this).length
}).click(function () {
$(this).toggleClass('currRow');
});
});
</script>
<style type="text/css">
.currRow
{
background-color:Gray;
cursor:pointer;
}
</style></pre>
推荐答案
'为null或未定义,不是Function对象 < pre =" xml"
' is null or undefined, not a Function object <pre lang="xml"><script src="Scripts/jquery-1.3.min.js" type="text/javascript"></script> <script type="text/javascript">
(document).ready(function(){
(document).ready(function () {
(& quot; tr& quot;).filter(function(){ 返回
("tr").filter(function () { return
这篇关于运行功能时出现jscript错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文