Internet explorer 8 Bootstrap3和Jquery验证插件:在IE8中不起作用?
我正在尝试使用jquery验证插件和Bootstrap3来验证我的输入字段。然而,它似乎在IE8中不起作用。有解决办法吗 我的代码:Internet explorer 8 Bootstrap3和Jquery验证插件:在IE8中不起作用?,internet-explorer-8,jquery-validate,twitter-bootstrap-3,Internet Explorer 8,Jquery Validate,Twitter Bootstrap 3,我正在尝试使用jquery验证插件和Bootstrap3来验证我的输入字段。然而,它似乎在IE8中不起作用。有解决办法吗 我的代码: <label for="firstName">First Name</label> <input type="text" name="firstName" id="firstName" class="form-control input-lg" tabindex="1"> Jquery: <script>
<label for="firstName">First Name</label>
<input type="text" name="firstName" id="firstName" class="form-control input-lg" tabindex="1">
Jquery:
<script>
$('form').validate({
rules: {
firstName: {
required : true
},
lastName: {
required : true
},
}
});
修复:我不得不恢复到jQueryV1.8.3的旧版本