jQuery validate() plugin, IE6, simple solution

I have been using the jQuery validate plugin for just about every form I've created in the past year or more. Easy, robust, beautiful stuff by world-class jQuery coder Jörn Zaefferer ( plugin page ) ... if you haven't checked it out yet, please do!

Anyway, tonight I had (yet another) strange thing happen in IE6 - basically, nothing was happening. The form i was working on was able to submit in IE6 as if javascript was disabled - no errors, no message, nothing. As usual, everything was fine in Firefox (firebug) and IE7, and I was stumped as only IE6 can stump me... then, thanks to Google, I found this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/843bc94ffef99250

Apparently there is something in the packed version of the validation file (jquery.validate.pack.js) that IE6 does not like. The solution? Don't use the packed version! Takes up a little more bandwidth but at least it works in all browsers.

Now - how much longer do we have to keep caring about IE6? (In this case, the offending browser is on the client's computer, so I have to play nice as much as possible...)

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Yep! This worked perfectly - this is a humbling reminder to me that I need to start posting my challenges and solutions also on a blog. Pages like this from the web dev community really do save HOURS, and I should be contributing more!

Thanks for saving me hours. I will continue dreaming with you on the Post-IE6 era.
# Author Travis Anderson | 7/2/09 12:29 PM
@Travis
Excellent - thanks for taking the time to post a reply, and glad it worked for you!
# Author Michael Evangelista | 7/2/09 12:38 PM
Hi,

Apparently, the issue is charset isn't being read properly in IE6.

http://return-true.com/2008/12/fixing-jquery-valid...

-Mario
# Author Mario | 7/23/09 12:31 PM
@Mario - thanks for that info!

( Forcing charset on the script tag is offered as an actual fix for the packed version of the validator js file :

<script src="jquery.validator.pack.js" type="text/javascript" charset="ISO-8859-1" ></script> )
# Author Michael Evangelista | 7/23/09 12:47 PM
blogcfc 5.9.1.002 by raymond camden
contact michael evangelista