我看了这个tutsplus的例子,发现如下情况:
参考链接:http://webdesign.tutsplus.com/tutorials/site-elements/bring-your-forms-up-to-date-with-css3-and-html5-validation/
示例链接:http://webdesigntutsplus.s3.amazonaws.com/tuts/214_html5_form_validation/demo/index.html
- 在Linux的Chrome 9中,验证根本没有起作用。我有没有禁用什么东西?
- 在Opera 11中,只有"名称"字段没有经过验证,但是所有其他字段都经过了验证。为什么是这样的?
参考链接:http://webdesign.tutsplus.com/tutorials/site-elements/bring-your-forms-up-to-date-with-css3-and-html5-validation/
示例链接:http://webdesigntutsplus.s3.amazonaws.com/tuts/214_html5_form_validation/demo/index.html