title: Running Multiple versions of jQuery at the same time
body: <p>I need to run two versions of jQuery. I've tried aliasing j to jQuery. Here is my code.</p>
  
  <pre><code>j = jQuery.noConflict(); // No conflict with older version of jQuery
  (function($) {
    $('#any_id_or_class').on("click", function(event){
      console.log('clicked');
    });
  })(j);
  </code></pre>
  
  <p>I've logged the version of jQuery using $.fn.jquery and I get two distinct versions depending if I log from inside my function or outside the scope. If I put a click to the 'body' of the document $('body') I get output, but here's where it all goes wrong, if I use any class or id on the page nothing happens? Ideas?</p>
  
  <p><strong>Edit 1:</strong> Obviously I would like to use only one version of jQuery, but that isn't an option.</p>
  
  <p><strong>Edit 2:</strong> Here's how I got it working, not ideal, as I wanted to try and alias the $ within the scope of the function. </p>
  
  <pre><code>j = jQuery.noConflict(); // No conflict with older version of jQuery
  
  j(document).ready(function(){
    j('#masthead').on("click", function(event){
      console.log('clicked');
    });
  });
  </code></pre>