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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # HTML DOM Button 對象 ## Button 對象 Button 對象代表 HTML 文檔中的一個按鈕。 該元素沒有默認的行為,但是必須有一個 onclick 事件句柄以便使用。 在 HTML 文檔中 &lt;input type="button"&gt; 標簽每出現一次,一個 Button 對象 就會被創建。 您可以通過遍歷表單的 elements[] 數組來訪問某個按鈕,或者通過使用 document.getElementById()。 ## Button 對象的屬性 | 屬性 | 描述 | | --- | --- | | [accessKey](/jsref/prop_button_accesskey.asp) | 設置或返回訪問按鈕的快捷鍵。 | | [alt](/jsref/prop_button_alt.asp) | 設置或返回當瀏覽器無法顯示按鈕時供顯示的替代文本。 | | [disabled](/jsref/prop_button_disabled.asp) | 設置或返回是否禁用按鈕。 | | [form](/jsref/prop_button_form.asp) | 返回對包含該按鈕的表單對象的引用。 | | [id](/jsref/prop_button_id.asp) | 設置或返回按鈕的 id。 | | [name](/jsref/prop_button_name.asp) | 設置或返回按鈕的名稱。 | | [tabIndex](/jsref/prop_button_tabindex.asp) | 設置或返回按鈕的 tab 鍵控制次序。 | | [type](/jsref/prop_button_type.asp) | 返回按鈕的表單元素類型。 | | [value](/jsref/prop_button_value.asp) | 設置或返回在按鈕上顯示的文本。 | ## 標準屬性 | 屬性 | 描述 | | --- | --- | | [className](/jsref/prop_classname.asp) | 設置或返回元素的 class 屬性。 | | [dir](/jsref/prop_dir.asp) | 設置或返回文本的方向。 | | [lang](/jsref/prop_lang.asp) | 設置或返回元素的語言代碼。 | | [title](/jsref/prop_title.asp) | 設置或返回元素的 title 屬性。 | ## Button 對象的方法 | 方法 | 描述 | | --- | --- | | [blur()](/jsref/met_button_blur.asp) | 把焦點從元素上移開。 | | [click()](/jsref/met_button_click.asp) | 在某個按鈕上模擬一次鼠標單擊。 | | [focus()](/jsref/met_button_focus.asp) | 為某個按鈕賦予焦點。 |
                  <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>

                              哎呀哎呀视频在线观看