<head><script type="text/javascript">function dk(){??var myWeb=window.open("","","width=500,height=500");myWeb.document.write("This is 'poem'");myWeb.document.write("<img src=\"images/Koala.jpg\"/>");return myWeb;}function closeWin()? {myWeb.close(); //怎么改才對?? }</script></head><body><a href="#" onclick="dk()">openweb</a><a href="#" onclick="closeWin()">closeweb</a></body>
這是一個打開和關閉新窗口的例子,里面我有疑惑,請求助。
superli18
2015-12-07 19:08:37