Uncaught ReferenceError: (function) is not defined
<p>I just think this is useful for people having this problem:</p>

<p>I had this code:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;link rel="stylesheet" href="example.css" type="text/css"/&gt;
    &lt;title&gt;CSS TESTS&lt;/title&gt;
    &lt;script language="text/javascript"&gt;
        var move = 0;
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;input type="text" id="shape" onchange="alert(move);"/&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>But I couldn't get the alert to work. I would get the Uncaught ReferenceError: move is not defined.</p>
