asp.net mvc 3 - MVC3 unobtrusive validation not working in IE -
i have mvc3 app, unobtrusive validation works fine in firefox, not working in ie.
any ideas why?
update
it seems jquery unobtrusive validation library comes mvc3 not compatible jquery 1.7.1 using (that came bootstrap template). works in firefox, doesnt work ie 8 (the 1 have).
i started upgrade jquery version begins work (not sure though if other things don't break!).
when got 1.8.1 worked.
i continued upgrading jquery, when got 1.9.1 - damn thing stopped working 1 time again :)
the latest jquery version worked me mvc3 jquery unobtrusive validation 1.8.3.
looks latest jquery version workes mvc3 jquery unobtrusive ajax library.
p.s. people using mvc3 unobtrusive validation or ajax, dont utilize jquery higher v 1.8.3.
i had similar problems recently, ie7 , ie8 (with mvc4).
to validation working again, have next versions installed:
jquery: 1.8.3
jquery validation: 1.9.0.1
microsoft unobtrusive validation: 2.0.30116.0 (latest of may 14, 2013)
i noticed moving jquery validation v1.10 problems began. @ time of post jquery validation v1.11.1 , not work in ie7/8. tried both jquery 1.8.3 , 1.9.1, neither worked latest version of jquery validation.
note: particular problem me validation firing , flagging error inputs , checkboxes if not 'data-required'.
asp.net-mvc-3 unobtrusive-validation
No comments:
Post a Comment