Reputation: 196519
I would like to upgrade a site from 1.3.2 to 1.4 as I see there are some good performance improvements.
Can I simply drop this in or should I be concerned about my plugins working?
Is it backward compatible?
What should I be worrying about?
Upvotes: 7
Views: 973
Reputation: 171784
Check this page: http://jquery14.com/day-01/jquery-14 (cached version from web.archive.org)
On the bottom there's a list of breaking changes. It will give you an idea if there are issues for you.
There's also a plugin which makes jQuery 1.4 compatible with 1.3.
Upvotes: 7
Reputation: 4500
I've done the same thing the other day and had no issues. One interestng thing is that the site claims that 1.4 no longer defaults $()
to $(document).ready
- I do however have such code and it is working fine...
Upvotes: 0
Reputation: 106332
Best bet is to try it and see. jQuery14.com has a backward compatibility list, as well as a 1.3-compat plugin you can use to soften the blow.
Upvotes: 1
Reputation: 6322
you should be fine but there are a list of potential issues here:
http://jquery14.com/day-01#backwards
Upvotes: 1