我是 HTML5 表单的新手,让它们在旧浏览器中工作。我正在尝试使用 Webshims Lib polyfill 在 IE8 中验证我的简单 HTML5 演示表单,但它似乎无法验证。据我所知,我已按照Webshims Lib 网站的指示进行操作。我究竟做错了什么?这是我的代码(如下)和实时链接
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="js/modernizr-custom.js"></script>
<script src="js/polyfiller.js"></script>
<style>
ul {list-style-type: none; margin-top: 100px;}
li {padding-bottom: 10px;}
</style>
</head>
<body>
<form id="myform" action="process.php" method="post">
<ul>
<li><label>Name</label>
<input type="text" name="name"></li>
<li><label>Email</label>
<input type="email" name="email" required></li>
<li><label>Numbers</label>
<input type="number" name="numbers"></li>
<li><label>Message</label>
<textarea name="message" placeholder="Type Here" required></textarea></li>
<li><input id="submit" name="submit" type="submit" value="Submit"></li>
</ul>
</form>
<script>
$.webshims.polyfill();
</script>
</body>
</html>