Reputation: 7602
I have html5 form validation, It works fine in chrome and firefox but not in IE. I prefer HTML5 than jquery because its simple to use. Is there any workaround to make the validation work in IE.
Upvotes: 1
Views: 4815
Reputation: 6855
IE < 10 is not compliant with HTML5, IE10+ or Edge is the only one that will have full support for HTML5.
I guess you should stay with jQuery for a while.
Upvotes: 2
Reputation: 72
Have you tried the htmlshiv script? It's hosted on Google code projects and can be added to the head of your html files like so:
<!--[if lte IE9]>
<script src="location/of/script" type="text/javascript"></script>
<![endif]-->
Source: http://code.google.com/p/html5shiv/
Upvotes: 0