Can't get JavaScript increment ++ to work
<p>I'm trying to count the number of times jQuery uses its $.get function.</p>

<p>I have a simple variable: <code>var max = 0;</code>.</p>

<p>When the <code>$.get</code> is passed I then have <code>max++</code> in the appropriate region but this does not work because when I alert max later it still shows up as 0. I even tried <code>max = max + 1</code>. </p>

<p>What could be the problem?</p>
