打开游戏提示:属性"$"的值为null ,未定义或不是function对象

其他回答(1)
currentStyle不就是ComputedStyle吗?
园豆:6420
&&&您需要以后才能回答,未注册用户请先。IE9 调试javascript
SCRIPT5007: 属性“ShowLink”的值为 null、未定义或不是 Function 对象,该如何处理 - JavaScript当前位置:& &&&IE9 调试javascript
SCRIPT5007: 属性“ShowLink”IE9 调试javascript
SCRIPT5007: 属性“ShowLink”的值为 null、未定义或不是 Function 对象,该如何处理&&网友分享于:&&浏览:3632次IE9 调试javascript
SCRIPT5007: 属性“ShowLink”的值为 null、未定义或不是 Function 对象SCRIPT5007: 属性“ShowLink”的值为 null、未定义或不是 Function 对象& IE9
调试结果如下:&script language=&javascript& type=&text/javascript&&ShowLink('word');&可是我的代码如下,请问哪儿有错啊?aspx代码如下———————————————————————————————————————————————————————&% & &
switch (i_NewsType) &
ExecuteJs(&ShowLink('word');&); & &
ExecuteJs(&ShowLink('pic');&); & &
ExecuteJs(&ShowLink('url');&); &
default: &
ExecuteJs(&ShowLink('word');&); & &
}%&.cs的代码如下——————————————————————————————————————————————_____ &
protected void ExecuteJs(string sentence) &
Context.Response.Write(&&script language=\&javascript\& type=\&text/javascript\&&&); &
Context.Response.Write(sentence); &
Context.Response.Write(&&/script&&); &
}javascript代码如下____________________________________________________________________________________________________________function ShowLink(NewsType){ &
switch (NewsType) &
case &word&:
document.getElementById('div_showad').style.display='';
document.getElementById('div_URLaddress').style.display='none';
document.getElementById('div_PicURL').style.display='none';
document.getElementById('div_Content').style.display='';
document.getElementById('div_Templet').style.display='';
document.getElementById('div_Souce').style.display='';
document.getElementById('NewsProperty_CommTF').style.display='';
document.getElementById('NewsProperty_DiscussTF').style.display='';
document.getElementById('NewsProperty_FILTTF').style.display='none'; &
document.getElementById('isFiles_div').style.display =&&; &
document.getElementById('isFiles_div1').style.display =&&; &
document.getElementById('div_vURL').style.display = &&;
case &pic&:
document.getElementById('div_showad').style.display='';
document.getElementById('div_URLaddress').style.display='none';
document.getElementById('div_PicURL').style.display='';
document.getElementById('div_Content').style.display='';
document.getElementById('div_Templet').style.display='';
document.getElementById('div_Souce').style.display='';
document.getElementById('NewsProperty_CommTF').style.display='';
document.getElementById('NewsProperty_DiscussTF').style.display='';
document.getElementById('NewsProperty_FILTTF').style.display=''; &
document.getElementById('isFiles_div').style.display =&&; &
document.getElementById('isFiles_div1').style.display =&&; &
document.getElementById('div_vURL').style.display = &&;
document.getElementById('div_showad').style.display='none';
document.getElementById('div_URLaddress').style.display='';
document.getElementById('div_PicURL').style.display='';
document.getElementById('div_Content').style.display='none';
document.getElementById('div_Templet').style.display='none';
document.getElementById('div_Souce').style.display='';
document.getElementById('NewsProperty_CommTF').style.display='none'; 共&2&页:
12345678910
12345678910
12345678910 上一篇:下一篇:文章评论相关解决方案 12345678910 Copyright & &&版权所有电脑每次都显示脚本错误,属性$的值为null,未定义或不是function对象,代码0_百度知道
电脑每次都显示脚本错误,属性$的值为null,未定义或不是function对象,代码0
您的回答被采纳后将获得:
系统奖励20(财富值+经验值)+难题奖励30(财富值+经验值)
我有更好的答案
这是软件出现错误或被破坏,建议将该软件卸载后,再重新下载安装即可。
其他类似问题
为您推荐:
脚本错误的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁如题:属性“DownLoadMaterial”的值为 null、未定义或不是 Functi>script
--------------------------------------
楼主把整理下贴出来。
--------------------------------------
&input type="butt
style="width:200px"&&/&functi>
--------------------------------------
这段代码在IE8上是没问题的,但在IE9和IE6上却不行。

我要回帖

更多关于 sub或function未定义 的文章

 

随机推荐