Declaring variables jQuery and JS
<p>It may be a silly question but I haven't been able to find any documentations on this on the internet.</p>

<p>When declaring variables to use within Javascript i normally use <code>var x = 0</code> but I've seen in jQuery tutorials that they use <code>$x = 0</code>. What is the difference of those two ?</p>

<p>Also, would i call those two variables the same way or do i need to use the $ mark before ?
So for example : <code>for(i=0; i &lt; x; i++)</code> or <code>for(i=0; i &lt; $x; i++)</code></p>
