posts - 22, comments - 32, trackbacks - 0, articles - 73
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          JS退出代碼!

          Posted on 2009-05-22 22:44 為自己代言 閱讀(5103) 評論(0)  編輯  收藏
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
          <title>js退出使用!</title>
           <script language="javascript">
            function logout(){
            if( confirm("你確實要退出嗎??")){
             window.parent.location.;
            }
            else{
             return;
            }
           }
           </script>
          </head>
           <p> <a href="javascript:logout()"> 退出</a></p>
          <a href="javascript:history.back();">返回</a>
          <body>
          </body>
          </html>

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 平安县| 安塞县| 龙南县| 罗定市| 南召县| 新津县| 上蔡县| 麻阳| 阳谷县| 斗六市| 云梦县| 陆河县| 阿勒泰市| 凌源市| 武冈市| 基隆市| 扎兰屯市| 新乡县| 浮梁县| 武强县| 高邮市| 图木舒克市| 红桥区| 五指山市| 营山县| 新安县| 穆棱市| 武威市| 西充县| 交口县| 三亚市| 东乡| 阳江市| 南木林县| 济南市| 原阳县| 通海县| 广河县| 定西市| 吉木乃县| 朝阳区|