JQuery 1.9 has been released
blog.jquery.com
blog.jquery.com
You/we don't have to suffer the headaches of "what the heck changed since the version I was using...", the jQuery overlords have really done us a great service in offering this cool migration checker - so let's use it!
Instead of $.browser, use $.support, and instead of .live(), use .on().
At least that's how it works in Chrome, I think Firefox does the same.
* Set a breakpoint.
* Refresh the page.
* View the stack trace(s).
Adding stack traces to the plugin itself would be difficult, since that's not standardized functionality and it would add quite a bit of bulk to the plugin.
Will it show me which method (in which file) to replace in console?
http://www.html5rocks.com/en/tutorials/developertools/source...
Only for now, fortunately! The co-authors are from Google and Mozilla[1], and work's being done to get support in Firefox as well.
[1] https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiO...
jQuery 2.0 is more appropriate for mobile web-apps or for intranets, where you know that users use strict subset of browsers
My take here is that various bits of logic have been removed which will also improve processing speed.
Of course, they may have been referring to the load speed, and the increase in processing speed may be negligible.
Sure, people on XP can't upgrade to another IE, but they can install Chrome, Firefox or Opera. In the corporate world, admins will upgrade to something else when they have to. With a little nudging maybe they'll have to sooner than later.
Ten versions should be enough for Microsoft to get it right. If they haven't gotten it right by now, it's not going to happen.
Microsoft needs to fix their crap browser, rather than forcing every web dev on the planet to use nasty hacks and workarounds.
This is not a problem unique to IE. Firefox, Chome, Safari, and others all need shims/patches/etc too:
> But to the point about cross-browser issues, it’s a complete myth that today’s modern browsers have no differences. Look through the jQuery source code and you’ll see plenty of places where it has to fix, patch, and mask issues in modern browsers; those problems didn’t end with IE8. jQuery 2.0 now has more patches and shims for Chrome, Safari, and Firefox than for Internet Explorer!
http://blog.jquery.com/2013/01/14/the-state-of-jquery-2013/
So, how about we stop spreading myths and using vitriolic language, and provide constructive criticism and feedback so Microsoft and others can all fix bugs and issues with their browsers?
I'm talking basic layout and JS functionality, not super-convoluted stuff like jQuery.
Sorry, it's an IE problem.
As for "constructive criticism and feedback": Microsoft has been ignoring it for the last 15 years. What makes you think they're going to start listening now?
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).
That depends entirely on what you're building.
https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
A few things in this update broke a production app for us.