Simple Javascript not Working - Jquery
<p>I have the following in my page.</p>

<pre><code>$(document).ready(function() {
    function setTheTimeout(){
        var t=setTimeout("alertMsg()",3000);
    }
    function alertMsg(){
        alert("Hello");
    }
    setTheTimeout();
});
</code></pre>

<p>I am getting an error in Firebug alertMsg() is not defined?</p>
