給a標簽加個ID:
{a id="oa" href="#" onclick="window.open('applet.html','window','width=640','height=400');" style="color:red"}hello{/a}
然後在applet.html裏加上這句javascript:
{script}
document.write(opener.document.getElementById("oa").innerHTML);
{/script}
那得在applet.html上寫行代碼來取參數
所有跟帖:
• 你說的很對,太謝謝了 -小菜鳥- ♀ (0 bytes) () 06/20/2005 postreply 08:21:34