<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                jQuery點擊自身以為關閉彈出窗 ``` <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>jQuery點擊自身以為關閉彈出窗</title> <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script> <style> *{margin:0;padding:0} #branch{ width:100%; height:auto; } /* 按鈕 */ #branch .branch-header button{ margin:300px 600px; } /* 彈出框 */ #branch .branch-proup{ position: fixed; top:0; left:0; width:100%; height:100%; background-color: rgba(0,0,0,.2); border-radius:5px 5px 0 0; display:none; z-index:10; } #branch .branch-proup-content{ position: fixed; top:50%; left:50%; width:320px; height:320px; background-color:#fff; border:1px solid #ccc; border-radius:5px; margin-top:-160px; margin-left:-160px; } </style> </head> <body> <div id="branch"> <div class="branch-header"> <button>點擊出現彈出框</button> </div> <!-- 彈出框 --> <div class="branch-proup"> <div class="branch-proup-content"> <!-- 彈出框內容 --> </div> </div> </div> <script type="text/javascript"> $(function(){ //點擊按鈕 var btn = $('#branch .branch-header button'); //彈出框 var proup = $('#branch .branch-proup'); btn.click(function(){ proup.show(); }) //點擊彈窗內容以外的地方關閉彈窗 proup.on('click',function (e) { if($(e.target).closest('#branch .branch-proup-content').length > 0){ alert('彈出框內部被點擊了') }else{ alert('彈出框以外的部分被點擊了') //關閉彈框 proup.hide() } }); }) </script> </body> </html> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看