GuyFromOverThere
GuyFromOverThere

Reputation: 471

Jquery and old IE versions

I made my site with Jquery and now if I test it in an old IE version like 5.5 and 6 it completely is filled with errors in javascript. Is there a way of getting this problem to stop... and is that error in jquery?

Upvotes: 3

Views: 4800

Answers (6)

WTK
WTK

Reputation: 16971

Currently as others have already stated, jQuery doesn't support IE in version less than 6.

BUT, according to this thread back from 2006 (post by John Resig so it should be legit source), jQuery was compatibile with IE 5.5+ in 2006, meaning (based on this history) that you can try to get it working on jQuery 1.0.

Upvotes: 4

T. Junghans
T. Junghans

Reputation: 11683

My guess is you're trying to support IE5.5 and IE6 because your client requested this. IE5.5 is over 12 years old and IE6 at least 10 years. It's simply unrealistic to try and provide the same experience for IE5.5 users as for Firefox 6, Safari and Chrome users.

Before you support an ancient browser, check the browser stats of your client's website or similar client's websites. Is it worth support IE6 if only 0.1% of the site's users actually use IE6?

Also check out this article about progressive enhancement and graceful degradation: http://www.sitepoint.com/progressive-enhancement-graceful-degradation-basics/

Upvotes: 1

jasalguero
jasalguero

Reputation: 4181

Jquery is only compatible with ie6+, for IE 5.5 it won't work -> JQuery Browser Compatibility

If you really need to use IE 5.5, one option would to be to make a basic workable version of your site without any jQuery. Then add the JQuery functionality. Finally while loading, detect the browser version, if the browser is IE6+ proceed to load JQuery, if not skip it.

That way both browsers will be able to access your site, IE5.5 users will have a basic version and IE6+ a richer version.

The downside is that it is a lot of extra work.

Upvotes: 2

avall
avall

Reputation: 2055

My advice is to forget about IE5.5 forever. jQuery core is compatible with IE6+. See here:

http://docs.jquery.com/Browser_Compatibility

Your errors on IE6 can be produced by plugins which can be compatible only with newer browsers.

Upvotes: 2

Tarek Fadel
Tarek Fadel

Reputation: 1959

jQuery does not support IE versions below 6.0. jQuery Browser Compatibility.

Upvotes: 2

Starx
Starx

Reputation: 79031

No and Yes both!

No!, because those old browsers, are so outdated, that they do not recognize the new methods and functions.

Yes!, because JQuery is only compatible above IE 6, not IE 5.5, so most the codes may not work in IE 5.5, as it should.

Upvotes: 3

Related Questions