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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ### 返回值:jQueryfilter(expr|obj|ele|fn) ### 概述 篩選出與指定表達式匹配的元素集合。 這個方法用于縮小匹配的范圍。用逗號分隔多個表達式 ### 參數 #### **expr**String*V1.0* 字符串值,包含供匹配當前元素集合的選擇器表達式。 #### **jQuery object**object*V1.0* 現有的jQuery對象,以匹配當前的元素。 #### **element **Expression*V1.4* 一個用于匹配元素的DOM元素。 #### **function(index) **Function*V1.4* 一個函數用來作為測試元素的集合。它接受一個參數index,這是元素在jQuery集合的索引。在函數, this指的是當前的DOM元素。 ### 示例 #### 參數selector描述: 保留帶有select類的元素 ##### HTML 代碼: ~~~ <p>Hello</p><p>Hello Again</p><p class="selected">And Again</p> ~~~ ##### jQuery 代碼: ~~~ $("p").filter(".selected") ~~~ ##### 結果: ~~~ [ <p class="selected">And Again</p> ] ~~~ #### 參數selector描述: 保留第一個以及帶有select類的元素 ##### HTML 代碼: ~~~ <p>Hello</p><p>Hello Again</p><p class="selected">And Again</p> ~~~ ##### jQuery 代碼: ~~~ $("p").filter(".selected, :first") ~~~ ##### 結果: ~~~ [ <p>Hello</p>, <p class="selected">And Again</p> ] ~~~ #### 回調函數 描述: 保留子元素中不含有ol的元素。 ##### HTML 代碼: ~~~ <p><ol><li>Hello</li></ol></p><p>How are you?</p> ~~~ ##### jQuery 代碼: ~~~ $("p").filter(function(index) { return $("ol", this).length == 0; }); ~~~ ##### 結果: ~~~ [ <p>How are you?</p> ] ~~~
                  <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>

                              哎呀哎呀视频在线观看