3 ms·
Can anyone comment on or point me to a resource describing what will break when using jQuery 2.0 in an older IE? I assume pages will still render and most basic
by stanleydrew 14y ago
Can anyone comment on or point me to a resource describing what will break when using jQuery 2.0 in an older IE? I assume pages will still render and most basic jQuery functions will still work, but it would be good to know exactly what the degraded behavior will be.
- skeletonjelly 14y agoI'm going to take a wild guess and say that IE's javascript engine will halt processing any additional code when it hits an error, so if your site relies on it it won't work very well indeed.
- jcampbell1 14y agoEverything, including events will break since IE<9 doesn't support addEventListener, thus $(document).ready() will not even run. Basically don't use 2.0 for the web. The only advantage is that it will be smaller, so if you have a mobile specific site, it could be better.
- skrebbel 14y agoUhm, if it's not for the web, what's it for? Only for phonegap apps?
- eloisant 14y agoPhonegap apps, mobile web, intranet apps when you know that everyone will be using IE9 or Chrome...
- nilliams 14y agoA better recommendation would be 'don't ship JavaScript to oldIE'. IE 6-8 have terrible JavaScript engines, JavaScript is going to do very little to help you deliver a good experience to users stuck on those browsers. For websites, let these users round-trip to the server for form-submissions, links etc. Progressively enhance with JS for IE9+ If you have commercial customers stuck on oldIE and have to deliver a single-page web app, your answer is Chrome Frame (and yes I've had experience asking customers on corporate networks to install Chrome Frame and had no objections/problems yet, as long as you're up-front with them).
- scraplab 14y ago> Basically don't use 2.0 for the web. That depends entirely on what you're building.