[英]HTML 5 form browser compatibility issue with Internet Explorer
Why HTML5 forms are not compatible on IE 9? 为什么HTML5表单在IE 9上不兼容?
I don't see forms validated on Internet explorer 9. It works fine on FF, Chrome, and Safari, but not on Internet Explorer. 我没有看到在Internet Explorer 9上验证的表单。它适用于FF,Chrome和Safari,但不适用于Internet Explorer。
Internet Explorer is lacking most of the HTML5 features, that's why you are having problems with it. Internet Explorer缺少大多数HTML5功能,这就是您遇到问题的原因。
See this site, to find out, what IE9 is compatible with: 查看此站点,了解IE9兼容的内容:
Forms 形式
input type=text Partial
input type=search No
input type=tel No
input type=url No
input type=email No
input type=datetime No
input type=date No
input type=month No
input type=week No
input type=time No
input type=datetime-local No
input type=number No
input type=range No
input type=color No
input type=checkbox Yes
input type=image Yes
input type=file Partial
textarea Partial
select Partial
fieldset Partial
datalist No
keygen No
output No
progress No
meter No
Fields 字段
Field validation No
Association of controls and forms No
Other attributes No
CSS selectors No
Events Partial
Form validation No
由于IE9(相对)陈旧,微软对支持新标准持谨慎态度,HTML5正处于前沿。
@Nida Hafeez, @Nida Hafeez,
Check out this: http://html5readiness.com 看看这个: http : //html5readiness.com
You should not go with HTML5 Validation, I won't recommend. 你不应该使用HTML5验证,我不会推荐。
Always remember that users can overcome client side validation, based on different browser type, version and enable/disable javascript or other client side capabilities. 永远记住,用户可以根据不同的浏览器类型,版本和启用/禁用javascript或其他客户端功能来克服客户端验证。
It seems form validation is not supported until IE 10.0 IE 10.0之前似乎不支持表单验证
There should be a polyfill that allows you to achieve what you would like. 应该有一个polyfill ,可以让你实现你想要的。
many feature of the html 5 form is not supported by many browser check 许多浏览器检查不支持html 5表单的许多功能
check A FORM OF MADNESS 检查MADNESS的形式
and Browser Support for New HTML5 Input Types 和浏览器支持新的HTML5输入类型
source Browser Support for New HTML5 Input Types 源浏览器支持新的HTML5输入类型
也许一个html5启动器将为你工作检查这个http://html5doctor.com/how-to-get-html5-working-in-ie-and-firefox-2/
在使用html5元素之前,您可以使用Modernizr检查浏览器的兼容性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.