最簡單的表單驗證不陌生,只要form 裡的input 放個required屬性,那麼觸發submit ... input 本身已有很好用的type屬性,可以是number, email, date, ...
確定! 回上一頁