运行功能时出现jscript错误 [英] jscript error when running function

查看:79
本文介绍了运行功能时出现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">&lt;script src=&quot;Scripts/jquery-1.3.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
    $(document).ready(function () {
        $(&quot;tr&quot;).filter(function () {
            return $(&#39;td&#39;, this).length &amp;&amp; !$(&#39;table&#39;, this).length
        }).click(function () {
            $(this).toggleClass(&#39;currRow&#39;);
        });
    });
&lt;/script&gt;

&lt;style type=&quot;text/css&quot;&gt;
    .currRow
    {
        background-color:Gray;
        cursor:pointer;
    }
&lt;/style&gt;</pre>

推荐答案

'为null或未定义,不是Function对象 < pre =" xml"
' is null or undefined, not a Function object <pre lang="xml">&lt;script src=&quot;Scripts/jquery-1.3.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt; &lt;script type=&quot;text/javascript&quot;&gt;


(document).ready(function(){
(document).ready(function () {


(& quot; tr& quot;).filter(function(){ 返回
(&quot;tr&quot;).filter(function () { return


这篇关于运行功能时出现jscript错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆