Firefox - 'undefined'错误 [英] Firefox - 'undefined' error

查看:68
本文介绍了Firefox - 'undefined'错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含表格布局的页面,它在body onLoad事件上发送了一个AJAX请求,在此期间,表格单元格显示静态文本,如正在加载。稍后使用AJAX响应更新表格单元格。因此,当我通过点击链接发送AJAX请求时尝试移出页面时,正在加载按钮。更改为未定义。我读到firefox对表格单元格不支持innerHTML,所以我开始在表格单元格中使用div但没有结果。但IE和Opera似乎工作正常。谁能告诉我哪里出错?非常感谢

I have a page with table layout which has an AJAX request sent on body onLoad event, during this time the table cells show static text like "Loading". The table cells are later updated with the AJAX response. So when I try to move out of the page once the AJAX request is sent by clicking on a link for exmple, the "Loading" changes to "undefined". I read that innerHTML is not supported by firefox for table cells so i started using div inside the table cell yet no result. However IE and Opera seems to work fine. could anyone please tell me where am going wrong ?? Thanks a ton

推荐答案

发布您的代码,以便我们可以看到问题所在。
Post your code so we can see where the problem might lie.


感谢您的回复, ajaxrequest由以下函数触发

Thanks for your reply, The ajaxrequest is triggered by the following functions

展开 | 选择 | Wrap | 行号


我还需要查看相关的HTML代码。如果代码太多并且您有测试站点链接,请将其发布。
I''ll also need to see the relevant HTML code. If the code is too much and you have a test site link, post that instead.


这篇关于Firefox - 'undefined'错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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