HTML5: "input" pattern Attribute
能以正規表達式用在以下的input types中做驗證的條件:
text, date, search, url, tel, email, password
這篇文章有一些範例和說明:
HTML <input> pattern Attribute:
http://www.w3schools.com/tags/att_input_pattern.asp
text, date, search, url, tel, email, password
這篇文章有一些範例和說明:
HTML <input> pattern Attribute:
http://www.w3schools.com/tags/att_input_pattern.asp
留言
張貼留言