jquery $variableName vs $(variableName)
<pre><code>var $myDiv = $("div#myDiv");//example 1
$myDiv.val(); //example 1

var myDiv = $("div#myDiv"); //example 2
$(myDiv).val(); //example 2
</code></pre>

<p>Is there any difference between example 1 and example 2 above?
Are both same as far as performance is concerned?</p>

<p>Thanks in advance</p>
