<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之旅 廣告
                :-: ### **這里主要是使用了jQuery的prop()方法** #### **prop()的定義和用法** prop() 方法設置或返回被選元素的屬性和值。當該方法用于返回屬性值時,則返回第一個匹配元素的值。當該方法用于設置屬性值時,則為匹配元素集合設置一個或多個屬性/值對。注意:prop() 方法應該用于檢索屬性值,例如 DOM 屬性(如 selectedIndex, tagName, nodeName, nodeType, ownerDocument, defaultChecked, 和 defaultSelected)。提示:如需檢索 HTML 屬性,請使用 attr() 方法代替。提示:如需移除屬性,請使用 removeProp() 方法。 HTML ~~~ <input type="checkbox" class="all"> <ul> <li><input type="checkbox" name="cbox" /></li> <li><input type="checkbox" name="cbox" /></li> <li><input type="checkbox" name="cbox" /></li> <li><input type="checkbox" name="cbox" /></li> <li><input type="checkbox" name="cbox" /></li> <li><input type="checkbox" name="cbox" /></li> </ul> ~~~ jQuery ~~~ // 全選 $('.all').click(function(){ if(this.checked){ $('[name=cbox]').prop('checked',true); } else { $('[name=cbox]').prop('checked',false); } }) ~~~
                  <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>

                              哎呀哎呀视频在线观看