Do jQuery and JavaScript have different namespaces?
<p>I have this code in jQuery..</p>

<pre><code>$(document).ready(function(){ 

var fieldCounter = 0;  ...
</code></pre>

<p>I have a jQuery function that increments this value.</p>

<p>This works, but I can't access this value on the page from a non-jQuery function? The reverse is also true, if I scope it in JavaScript e.g.</p>

<pre><code>&lt;script type="text/javascript"&gt;

var fieldCounter = 0;
</code></pre>

<p>I can access it from javascript but jQuery can't view it?</p>

<p>I'm probably doing something really dumb?</p>
