Javascript功能在Firefox中不起作用 [英] Javascript function doesn't work in Firefox
本文介绍了Javascript功能在Firefox中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
1.在我的aspx页面中,我有一个函数pageLoad()来处理客户端页面加载.在IE中可以正常工作,但在Firefox中不能正常工作.还有其他选择吗?
2.我发现firefox对javascript函数$ find(..)抛出错误.
$ find可以替代吗?
谢谢
Vijay
Hi
1. In my aspx page, I have a function pageLoad() to handle client side page load. Works fine in IE but not in firefox. Is there any alternative?
2. I found that firefox throws an error for javascript function $find(..) .
Is there any alternative to $find.
Thanks
Vijay
推荐答案
find(..).
除了
find(..) .
Is there any alternative to
查找之外,还有什么替代方法.
谢谢
Vijay
find.
Thanks
Vijay
是的,是的.您可以将其替换为document.getElementById.请记住,如果您有类似以下的代码:
Yeah, there is. You can replace it with document.getElementById. Keep in mind that if you have code like:
<asp:button id="btnTest" runat="server" text="Test" xmlns:asp="#unknown" />
<script>
这篇关于Javascript功能在Firefox中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文