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

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # jQuery 文檔操作 - prepend() 方法 ## 實例 在 p 元素的開頭插入內容: ``` $(".btn1").click(function(){ $("p").prepend("<b>Hello world!</b>"); }); ``` ## 定義和用法 prepend() 方法在被選元素的開頭(仍位于內部)插入指定內容。 提示:prepend() 和 [prependTo()](/jquery/manipulation_perpendto.asp "jQuery 文檔操作 - prependTo() 方法") 方法作用相同。差異在于語法:內容和選擇器的位置,以及 prependTo() 無法使用函數來插入內容。 ### 語法 ``` $(_selector_).prepend(_content_) ``` | 參數 | 描述 | | --- | --- | | content | 必需。規定要插入的內容(可包含 HTML 標簽)。 | ## 使用函數來附加內容 使用函數在被選元素的開頭插入指定的內容。 ### 語法 ``` $(_selector_).prepend(_function(index,html)_) ``` | 參數 | 描述 | | --- | --- | | _function(index,html)_ | 必需。規定返回待插入內容的函數。 `index` - 可選。接受選擇器的 index 位置。 `html` - 可選。接受選擇器的當前 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>

                              哎呀哎呀视频在线观看