<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ``` <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>JS獲取復選框中當前選中的值</title> </head> <script type="text/javascript"> window.onload = function() { select_item(); } function select_item() { var aFruit=document.getElementsByName("checkfruit"); var oSelectAll=document.getElementById("selectAll"); var oP=document.getElementById("content"); var str=""; //全選/全不選 oSelectAll.onchange=function() { if(this.checked) { for(var i=0;i<aFruit.length;i++) { aFruit[i].checked=true; str+=aFruit[i].value+" "; } oP.innerText="你選擇的瓜是:"+str; }else { for(var i=0;i<aFruit.length;i++) { aFruit[i].checked=false; } oP.innerText="你沒有選擇任何瓜"; str=""; } } //單個點擊復選框 var str1=""; for(var i=0;i<aFruit.length;i++) { aFruit[i].onchange=function() { if(this.checked) { str1=str1+this.value+" "; }else { str1=str1.replace(this.value,""); } oP.innerText="你選擇的瓜是:"+str1; } } } </script> <body> <div> <label><input type="checkbox" id="selectAll"/>全選/全不選:</label><br /><br /> <label><input type="checkbox" name="checkfruit" value="冬瓜"/>冬瓜</label> <label><input type="checkbox" name="checkfruit" value="南瓜"/>南瓜</label> <label><input type="checkbox" name="checkfruit" value="西瓜"/>西瓜</label> <label><input type="checkbox" name="checkfruit" value="北瓜"/>北瓜</label> </div> <p id="content"></p> </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>

                              哎呀哎呀视频在线观看