title: Is it possible to use 2 versions of jQuery on the same page?
body: <p><em>NOTE: I know similar questions have already been asked <a href="https://stackoverflow.com/questions/613808/is-it-possible-to-load-multiple-different-version-of-jquery-on-the-same-page">here</a> and <a href="https://stackoverflow.com/questions/1117463/two-jquery-versions-on-the-same-page">here</a>, but I'm looking for additional clarification as to how to make this work or good reasons for avoiding it entirely.</em></p>
  
  <p>I'm adding functionality to an existing web site that is already using an older version of the jQuery library (1.1.3.1).  I've been writing my added functionality against the newest version of the jQuery library (1.4.2).  I've tested the website using only the newer version of jQuery and it breaks functionality, so now I'm looking at using both versions on the same page.  How is this possible?</p>
  
  <p>What do I need to do in my code to specify that I'm using one version of jQuery instead of another?  For example, I'll put <code>&lt;script&gt;</code> tags for both versions of jQuery in the header of my page, but what do I need to do so that I know for sure in my calling code that I'm calling one version of the library or another?</p>
  
  <p>Maybe something like this:</p>
  
  <pre><code>//Put some code here to specify a variable that will be using the newer
  //version of jquery:
  var $NEW = jQuery.theNewestVersion();
  
  //Now when I use $NEW, I'll know it's the newest version and won't
  //conflict with the older version.
  $NEW('#personName').text('Ben');
  
  //And when I use the original $ in code, or simply 'jquery', I'll know
  //it's the older version.
  $('#personName').doSomethingWithTheOlderVersion();
  </code></pre>
  
  <p><em>UPDATE: After reading some of the answers, I'm starting to wonder if it's even a good idea to try to play this game at all...</em></p>