Javascript& Firefox:简单的代码不执行 [英] Javascript & Firefox: simple code don't executed

查看:53
本文介绍了Javascript& Firefox:简单的代码不执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我写了这段代码:

Hi all!
I''ve wrote this code:

展开 | < span class =codeLinkonclick =selectAll(this);>选择 | 换行 | 行号

推荐答案

第22行甚至没有提醒1?您收到了什么错误消息?
Does it not even alert 1 on line 22? What error message do you get?


我唯一的提醒是在第21行。
点击这里尝试。

按下Seleziona banner (选择横幅翻译成英文)你有页面。它是一个用xsl样式表格式化的xml页面。该脚本位于xsl代码中。因此,如果您尝试获取源代码,您将拥有一个xml页面。
点击此处获取完整的xsl文件。


谢谢!
The only alert I have is at line 21.
Click here to try.
Pressing "Seleziona banner" ("select banner" translated in english) you have the page. It''s an xml page formatted with an xsl stylesheet. The script is inside the xsl code. So if you try to get the source you''ll have an xml page.
Click here to have the complete xsl file.

Thank you!


在Firefox中,我看到错误:

window.opener.document.getElementById (previewBann er)没有属性

http://www.naera.it/public/xml/bannerNaera.xml

第44行
In Firefox, I see the error:
window.opener.document.getElementById("previewBann er") has no properties
http://www.naera.it/public/xml/bannerNaera.xml
Line 44


这篇关于Javascript&amp; Firefox:简单的代码不执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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