Recently used in this work, and did not think, but when later learning in the FCC saw this property to park on blog search, I found two good description
Since HTML5 form validation to be
HTML5 form validation comes - landscaping renovation
The first chapter written in relatively small, but the contents are written to speak very clear.
The second writing is very wide, but the code a bit more, we should all read the code to see the concept.
HTML5 comes verify if only Chrome / Firefox browsers such support was, like earlier versions of IE do not support the
Chrome display
Internet Explorer display
Code:
Modify the code to complete more complex functions, such as phone number verification length:
code show as below
Reference (copying) the first article of the code.
You can see more of the concept of the second article
You can view more articles: