ASP.NET control with jQuery. Specific version for control
<p>Is below how you would use a specific version of jQuery (already previously assigned on a page) in a control and set it back to the previous version for remaining control/s.</p>

<p>I know this is not ideal but the who app will be cleaned up later.</p>

<p>Thanks in advance.</p>

<pre><code>&lt;!-- This would be set earlier on the page. Possibly at page level or in a previous control --&gt;
&lt;script type="text\javascript" src='jquery-1.7.1.js'&gt;&lt;/script&gt;

&lt;!-- This would at the start of the control --&gt;
&lt;script&gt;
var $origJquery = null; //Should be unique var name for the control

if(typeof jQuery != 'undefined')
    $origJquery = jQuery.noConflict();
&lt;/script&gt;

&lt;script type="text\javascript" src='jquery-1.7.2.js'&gt;&lt;/script&gt;

&lt;script&gt;
var $newJquery = jQuery.noConflict();

//Can use $newJquery here

&lt;/script&gt;

&lt;script&gt;
//Set back when finished at end of control
if($origJquery != null)
{
    $ = $origJquery;
    $origJquery = null;
}
&lt;/script&gt;
</code></pre>
