onBlur() not calling my functions
<p>For some reason, my JavaScript functions aren't being called.  My html is as follows:</p>

<pre><code>&lt;html&gt;

&lt;body&gt;

    &lt;script type = "text/javascript"&gt;

    function methodToBeCalled()
    {
    alert("Test");
    }

    &lt;/script&gt;

    &lt;input type = "text" onBlur = "methodToBeCalled()" /&gt;

&lt;/body&gt;

&lt;/html&gt;
</code></pre>

<p>I've also tried this with a button in the onClick() method, which still hasn't worked.</p>
