It does not support the new features of html5 form validation solution

Written download Alexander Farkas "Webshims Lib" (http://afarkas.github.com/webshim/demos/ )
which can be used to insert a form patch (patch is also HTML5 other features), from
does not support the new features in the browser can handle HTML5 forms.

Instructions:

. A download Webshims Lib (http://github.com/aFarkas/webshim/downloads) and extract;

. B js-webshim in which the folder to the appropriate location;

<script src="js/jquery-1.7.1.js"></script>
<script src="js-webshim/minified/extras/modernizr- custom.js"></script>
<script src="js-webshim/minified/polyfiller.js"></script>
<script>
//加载补丁
$.webshims.polyfill();
</script>


引自https://www.cnblogs.com/lewis-messi/p/8336321.html

Guess you like

Origin www.cnblogs.com/xiaohaodeboke/p/11875439.html