Jquery syntax meaning - difference between $(x) and x
<p>I know that when we have an element with id='someId', we can access it with Jquery like this:</p>

<pre><code>$('#someId')
</code></pre>

<p>But sometimes when we have a variable:</p>

<pre><code>var x;
</code></pre>

<p>We use just <code>x</code> or <code>$(x)</code>.</p>

<p>When do we use <code>$(x)</code> instead of <code>x</code>? When do we use <code>$($(x))</code> instead of <code>x</code>? </p>
