• <sub id="h4knl"><ol id="h4knl"></ol></sub>
    <sup id="h4knl"></sup>
      <sub id="h4knl"></sub>

      <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
      1. <strong id="h4knl"></strong>

      2. jquery submit()不能提交表單的的原因

        時(shí)間:2024-07-25 21:05:04 jQuery Mobile 我要投稿
        • 相關(guān)推薦

        jquery submit()不能提交表單的的原因

          復(fù)制代碼 代碼如下:

          用戶名:

          密碼:

          郵箱:

          改為

          $("#submit").click(function() {

          $("form").submit();

          });

          上述代碼點(diǎn)擊注冊按鈕時(shí)無法提交表單

          原因

          Additional Notes:

          Forms and their child elements should not use input names or ids that conflict with properties of a form, such as submit, length, or method. Name conflicts can cause confusing failures. For a complete list of rules and to check your markup for these problems, see DOMLint.

          其他注意事項(xiàng):

          表單和其子元素不宜用一個(gè)表單的屬性的屬性作為name或id的名稱,如submit, length, or method,是、會(huì)產(chǎn)生沖突。名稱沖突可能會(huì)導(dǎo)致混亂的失敗。對于一個(gè)完整的規(guī)則列表,并檢查這些問題標(biāo)記,看DOMLint。

          所以將注冊按鈕的id改為“register”就OK了

        【jquery submit()不能提交表單的的原因】相關(guān)文章:

        jquery提交按鈕的代碼07-28

        喝中藥不能加糖的原因08-30

        內(nèi)存不能為written原因10-09

        太極拳不能自學(xué)的原因10-19

        jQuery程序設(shè)計(jì)08-05

        學(xué)生不能掌握拳腿功夫的原因10-26

        五筆不能做速錄的原因10-21

        淺析jQuery 遍歷函數(shù)javascript08-06

        jQuery中prev()方法用法07-16

        jQuery中replaceAll()方法用法10-15

        在线咨询
        国产高潮无套免费视频_久久九九兔免费精品6_99精品热6080YY久久_国产91久久久久久无码
      3. <sub id="h4knl"><ol id="h4knl"></ol></sub>
        <sup id="h4knl"></sup>
          <sub id="h4knl"></sub>

          <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
          1. <strong id="h4knl"></strong>

          2. 五月丁香六月婷婷视频播放器 | 综合自拍亚洲综合图区高清 | 亚洲日本va中文字幕无 | 伊人精品久久久久中文字幕 | 亚洲高清网址中文字幕 | 亚洲处破女AⅤ一区二区 |

            jquery submit()不能提交表單的的原因

              復(fù)制代碼 代碼如下:

              用戶名:

              密碼:

              郵箱:

              改為

              $("#submit").click(function() {

              $("form").submit();

              });

              上述代碼點(diǎn)擊注冊按鈕時(shí)無法提交表單

              原因

              Additional Notes:

              Forms and their child elements should not use input names or ids that conflict with properties of a form, such as submit, length, or method. Name conflicts can cause confusing failures. For a complete list of rules and to check your markup for these problems, see DOMLint.

              其他注意事項(xiàng):

              表單和其子元素不宜用一個(gè)表單的屬性的屬性作為name或id的名稱,如submit, length, or method,是、會(huì)產(chǎn)生沖突。名稱沖突可能會(huì)導(dǎo)致混亂的失敗。對于一個(gè)完整的規(guī)則列表,并檢查這些問題標(biāo)記,看DOMLint。

              所以將注冊按鈕的id改為“register”就OK了