关闭HTML5只能提示(form上新增novalidate)

<form novalidate>
    <input type="text" required />
    <input type="submit" value="No validate submit" />
</form>

 

例子:

http://jsfiddle.net/RvBaF/

posted @ 2015-07-29 17:12  iDEAAM  阅读(431)  评论(0编辑  收藏  举报