js 回車提交表單

1,js 輸入框如何鋪貨回車事件? 在onkeypress 事件中捕獲,即在keypress事件中,判斷按下的鍵是否是enter,其對應keyCode是13   Html代碼   <input type="text" name="email" placeholder="電子郵箱"                                                            
相關文章
相關標籤/搜索