![]() |
Important to update jquery?
The answer is probably yes but is it important to update your jquery?
I mean, I am sure it is backwards compatible right? Just wondering - perhaps someone will chime in saying that if it aint broke don't fix it but I was wondering.... I am on 1.7.1 and I notice that the current is 1.8.1 |
you have to keep an eye on version changes - for example, as the docs note, as of jQuery 1.3, .trigger()ed events bubble up the DOM tree, which is a fairly major change.
if you want, you can make sure that you always have the latest version just by calling Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>Code:
<script src="http://code.jquery.com/jquery-latest.min.js"></script> |
thanks....
Good tip - Hey does the .min.js work just as good? Why doesn't everyone use the minified version? |
Hey... thanks for this tip
Actually, it is really great to keep with the latest version. |
Quote:
Now, if you know that updating jQuery won’t break anything then you can safely go ahead and do it. After all, if you decide to add new features to your site you can rely on the fact that you can use the latest features of jQuery. However, if your site won’t change in the near future you can as well leave the version you have right now and update it with a major redesign of the site. |
| All times are GMT +1. The time now is 05:11 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.