多虧現在瀏覽器良好生態,直接寫在html 就能做掉了,只要將input 包進form 裡,利用其原生submit method 自動驗證。 type 搭配 pattern. input 本身已有很 ...
確定! 回上一頁