<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"
rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"
type="text/javascript"></script>
<script src="//ajax.aspnetcdn.com/ajax/jQuery.Validate/1.7/jQuery.Validate.min.js"
type="text/javascript"></script>
<script src="//ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.min.js"
type="text/javascript"></script>
我正在使用数据注释来显示错误消息。在 Firefox 中它工作正常,但在 IE 中它没有在客户端显示错误消息。从下面的链接JQuery 1.6 $('form').validate() not working in IE7 & IE8,我看到了
Jquery Validate 目前不适用于 IE6、IE7 和 IE8 中的 jQuery 1.6。
我在我的项目中使用 jquery UI 自动完成,Datepicker。因此,如果我将 jquery 版本从 1.6.2 更改为 jquery 1.5.2,我的验证工作正常,但我的自动完成功能开始失败。
如何解决这个问题?有什么想法吗?