<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、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # 表單提交AjaX 在零云中自帶了ajax提交的封裝,用來減輕前端開發人員的工作,加快項目進度。 ## ajax-post用法 主要由以下幾個條件觸發 1、form表單結構的dom 2、target-form="表單的一個自定義class,比如注冊表單那可以用register-user" 3、form的action地址 4、提交按鈕必須有type="submit"屬性 5、提交按鈕加上ajax-post類 接下來點擊按鈕會自動觸發零云封裝的ajax操作 ![](/Uploads/manual/image/2018-10-27/5bd4311105dde.png) 如上圖紅色標記所示,點擊登錄按鈕就會執行ajax提交,而不是傳統的頁面跳轉。 ## 示例 ```html <form class="form login-form" action="{:U('User/User/login', '', true, true)}" method="post"> <div class="form-group"> <input type="text" class="form-control input" placeholder="{:L('郵箱/手機號/用戶名')}" name="account" autocomplete="off" value=""> </div> <div class="form-group"> <input type="text" onfocus="this.type='password'" class="form-control input" placeholder="{:L('請輸入密碼')}" name="password" autocomplete="off" value=""> </div> <div class="form-group"> <button type="submit" class="btn btn-primary btn btn-block submit ajax-post" disabled="disabled" target-form="login-form">{:L('登錄')}</button> </div> </form> ```
                  <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>

                              哎呀哎呀视频在线观看