【发布时间】:2012-02-06 11:34:00
【问题描述】:
我正在使用以下锚标记打开一个弹出窗口。它在 FF 和 chrome 上运行良好,但在 IE 上运行良好。请提出建议。
<a href="javascript:void window.open('<%=script.toString()%>&noui=1&jump=doclose','deliciousuiv5','location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550');"><span class="TopBarRightSection"><s:text name="text.bookmarklet"/></span></a>
【问题讨论】:
-
生成的html是什么样子的?
-
在
void和window.open之间应该有;吗?还是应该void根本不存在? -
没有生成 html。它显示脚本错误。
标签: javascript html