![]() ![]() ![]() ![]() |
|||||
|
|||||
樓主 MStone Lin ![]()
![]() |
在b.asp 執行程式後 最後執行 <script type="text/javascript" language="Javascript"> <!--// alert('回覆成功!'); window.opener=null; window.open('','_self',''); window.close() //--> </script> 在電腦上執行會正常的關閉視窗 但在手機上開啟b.asp後 不會關閉視窗 請問要如何修改或有其他寫法? 謝謝~
搜尋相關Tags的文章:
[ 手機 關閉視窗 ] ,
本篇文章發表於2015-05-14 15:15 |
1樓 |
請至我的server
http://ap.a168a.com/blueshop/child/mobilewin.htm 用手機執行瀏覽,並按一下子視窗開啟後,按一下傳值給父視窗並關閉子視窗 再用檢視網頁原始碼,去複製他的程式碼,修改為您需要的。
本篇文章回覆於2015-05-14 23:32
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔-- |
2樓
作者回應
MStone Lin ![]() |
回香帥
還是不行喔 程式碼如下: <!-- #Include file="connWeb.asp" --> <!-- #Include file="get.asp" --> <script> function senddata() { window.close(); } </script> <% labid=request("labid") labsel=request("R1") rdate=request("rdate") rtime=request("rtime") rpcard=request("rpcard") repcont=request("repcont") sql="update 資料庫 " ConnCase.execute(sql) %> <html> <title>報告回覆</title> <body> <center> 回覆成功<BR> <input type="button" value="關閉視窗" onClick="senddata()" /> </center> </body> </html>
本篇文章回覆於2015-05-20 13:58
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔-- |
回覆 |
如要回應,請先登入. |