Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

jQuery Validation not working in IE8( jquery 1.6 ) #105

Closed
tarascv opened this Issue May 10, 2011 · 17 comments

Comments

Projects
None yet

tarascv commented May 10, 2011

I'm trying to use the jQuery Validation plugin on a form . The form works in FF, Chrome but not work in IE8.

Alex-Sh commented May 10, 2011

Same too. No validation in IE.

Same too. not working in IE6,7,8

kbdguy commented May 12, 2011

minimal code to prove the problem: http://jsfiddle.net/RwRcb/

tornal commented May 13, 2011

Hate to do a same too, I went back to jQuery 1.5.1 and validation behaved as normal with IE8. I was previously trying to use jQuery 1.6.1 just to make sure the bugs in 1.6.0 didn't have anything to do with it. As already mentioned this is not a problem in FF or Chrome from my testing.

For further info, the potential fix from kbdguy above does not work when run in IE, at least on mine.

I reported this up in the JQuery forums. I tried it with jquery 1.6.1 and it still does not work with IE 8.

tornal commented May 19, 2011

With jQuery.validate 1.8.1 and jQuery 1.6.1 it is now working as expected for me in IE8, so hopefully this issue is resolved.

All set here too.

kbdguy commented May 23, 2011

Just confirming 1.8.1 and jQuery 1.6.1 it is working for me, too, now. It's great that this is a free product, and I am grateful for it. But I am disappointed that for version 1.8.0 the claim was it was actually tested with jQuery 1.6, when it clearly WASN'T. At least not any sort of a thorough test that certainly should have included ie. If whoever supposedly tested it had even one time brought it up under ie 8, the fact that it wasn't working would have been instantly evident.

@kdbguy. Thanks to your vigilance we caught it. I hadn't done a complete re-test myself at that point with IE 8, although our test PC would have caught it when we pushed the next version of our app to the test server. I am now using IE Tester on my laptop so I can always go back.

I sign to. No validation in IE8.

zhunter commented May 31, 2011

I also wanted to confirm this, here is an updated example using jQuery 1.6.1 and Validate 1.8.1 which works in IE8. http://jsfiddle.net/xtkuV/

Tested in IE9 and IE9 in IE8-mode, not works.
http://jsfiddle.net/jtxvZ/12/

zhunter commented May 31, 2011

darknode: I don't have IE9, but tested your example in IE8 in all 3 modes with the IE Dev Toolbar (IE7, IE8, IE8 Compatibility) and it worked every time. I'm using IE 8.0.7600.16385 on Windows 7 64-bit, also tested on Vista 32-bit.

I have done limited testing using jQuery 1.6.1 and Validate 1.8.1 on Windows 7 with IE 9.0.8112.16421.

The plugin seems to work in this configuration: I see validation messages appear when expected, the plugin returns the correct boolean values, etc, etc...

taitems commented Aug 16, 2011

Just a side note in regards to testing: it is important to avoid IETester when checking compatibility. While it claims to be using the same engines, try firing up a virtual machine with IE6 installed and you'll notice a world of differences. I've been through a host of solutions: MultipleIEs, IETester and the Dev Toolbar modes - and frankly nothing compares to the real thing running on a virtual machine.

Contributor

mlynch commented May 24, 2012

It seems this is fixed. Thanks.

@mlynch mlynch closed this May 24, 2012

hunginf commented Apr 26, 2013

don't use :

 rules : {
  name : "required"
 }

use :

rules : {
 name : {
  required : true
 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment