原因 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.
其他注意事項: 表單和其子元素不宜用一個表單的屬性的屬性作為name或id的名稱,如submit, length, or method,是、會產生沖突。名稱沖突可能會導致混亂的失敗。對于一個完整的規則列表,并檢查這些問題標記,看DOMLint。 所以將注冊按鈕的id改為“register”就OK了