aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes How to Upgrade newer version of Jquery Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "How to Upgrade newer version of Jquery" Watch "How to Upgrade newer version of Jquery" New topic
Author

How to Upgrade newer version of Jquery

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
Hi,

I have used JQuery 1.2.1 in my application and want to know how do I upgrade to newer version in future?

I thought of an option to include the js file as jquery.js (instead of jquery-1.2.1.js) and for upgrade just copy paste the new version context in same file.

Any one see any problem with this approach or has better solution ?

-P


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
It normally depends on what the release notes say with most libraries. Most of the time the newer versions do not break anything.

I normally rename to the library file names to not include the versions so it is easier to update.

Eric
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
cool thats what i also did. thanks much Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56173
    
  13

I, on the other hand, leave the version number intact. That way, I always know what I'm dealing with. Any editor worth its salt allows you to change every reference in a project in a matter of seconds when updating.

Either approach is fine. Which approach works best for you, is for you to decide.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: jrebel
 
subject: How to Upgrade newer version of Jquery
 
Similar Threads
JQuery draggable problem
UrlyBird questions.
The Mystery of the Disappearing Quoted Text
Can't find some css classes in my jquery ui download
INitialization Err