javascript void(0)错误?

问题描述:

我正在尝试在表达式网页中嵌入一个google groups框架,代码中包含一个javascript void(0)元素,它是有效的代码,并且在生成的页面上工作正常,但是Web的显示功能呛到它,说:

I am trying to embed a google groups frame in an expression web page, and the code includes a javascript void(0) element, which is valid code, and works fine on the resulting page, but Web's display function chokes on it, saying:

      "无法打开页面:javascript:void(0)。"

      "could not open page :javascript:void(0)."

代码为:

< iframe id =&quot ; forum_embed&QUOT; SRC =&QUOT;的javascript:无效(0)&QUOT; >

<iframe id="forum_embed" src="javascript:void(0)" >

< / iframe>

</iframe>

一个人好, " javascript:void(0)"不是 要填充iframe的来源,以及用于iframe的
a来源是指向该网站内网页的链接,或者是http://  url指向其他网站的网页。

Well for one,  "javascript:void(0)" is not  a source that is going to fill an iframe,
a source for an iframe is a link to a page within the site or a http:// url to another site's page.

你拥有它的方式"javascript:void(0)"是你的来源和"javascript:void(0)" = no,null,void。

所以EW正在做它应该做的事情,这没什么。

The way you have it "javascript:void(0)" is your source and "javascript:void(0)" = nothing, null, void.
So EW is doing exactly what it should, which is nothing.