刚也遇到这个问题,基本是jquery.js和jquery.validate.js版本问题,如果是asp.net mvc 还有jquery.validate.unobtrusive.js,jquery.validate.js的版本,
copy别处:
2
down vote
At the moment of writing (September 2014) I tested the following combination and for me (with IE8 and surprise, even with IE7!) this works:
jQuery 1.11.1 (latest 1.x version)
jQuery.Validation 1.10.0
Microsoft.jQuery.Unobtrusive.Ajax 3.2.2 (last available version)
Microsoft.jQuery.Unobtrusive.Validation 3.2.2 (last available version)
Note, with IE 11 (edge) sometimes I get (if I open the Debugger with F12) the following error:
SCRIPT5007: Unable to get property 'call' of undefined or null reference File: jquery.validate.js, Line: 1234, Column: 5
But if I close the debugger and use the form as a normal user, if works fine.
Tested also with IE10 and IE9 (IE11 emulating these). No problems found so far.
If you are unable to update (downgrade) the nuget packages because you get a dependency error (jquery 1.4 or so), remember to use the -IgnoreDependencies flag, for example:
Update-Package jQuery.Validation -Version 1.10.0 -IgnoreDependencies
Enjoy (well, supporting IE8 is not really enjoying, but if you are here it means you are working with customers who can't get rid of this crappy browser...). Cheers ;)
link:https://stackoverflow.com/questions/14818363/mvc3-unobtrusive-validation-not-working-in-ie/26022153#26022153