microsoft jscript运行时错误'null'为null或不是对象javascript [英] microsoft jscript runtime error 'null' is null or not an object javascript

查看:107
本文介绍了microsoft jscript运行时错误'null'为null或不是对象javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何嵌入.swf文件我的asp.net页面。 [ ^ ]





i跟随上面的链接

i在asp.net中打开文件时出错了



microsoft jscript运行时错误'null'为null或者不是对象javascript

任何人都可以帮助我.. ??



谢谢你,

解决方案

使用Chrome尝试找出产生错误的行。如果您希望我们为您修复它,请发布代码。



最可能的问题是你正在使用document.getElementById并且返回null而不是检查。你应该使用jquery而不仅仅是javascript。



另一个猜测是你盲目地复制了链接中的代码并且没有添加它需要工作的属性。

how to embed .swf file in my asp.net page.[^]


i was followed the above link
i got the Error while i open the file in asp.net

"microsoft jscript runtime error 'null' is null or not an object javascript"
can anyone help me..??

thank you,

解决方案

Use Chrome to try to work out what line is generating the error. Post code if you want us to fix it for you.

The most likely issue is that you're using document.getElementById and getting null back and not checking. You should use jquery instead of just javascript.

Another guess would be that you copied the code in the link blindly and didn't add the properties it needs to work.


这篇关于microsoft jscript运行时错误'null'为null或不是对象javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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