HTML5表单元素& quot;必需& quot;在iPad/iPhone上无法正常工作

问题描述:

iPad Safari应该符合html5,但似乎必需的元素不起作用.有谁知道为什么,或者有一个不需要大量JavaScript的不错的解决方法?

iPad safari is supposed to be html5 compliant, but it seems that the required element doesn't work. Anyone know why, or have a decent workaround that doesn't require a ton of JavaScript?

我的代码

<input type=email class=input placeholder="Email" name="email" required>

iOS尚不支持:何时可以使用:必填.