$.post not working in firefox
<p>Here's my code it works fine in IE and Chrome, but not in FF</p>

<pre><code>&lt;script type="text/javascript"&gt;
    function get() {
        $.post(
            'regAuth.php', 
            {usrName: login.usrName.value, password: login.password.value},
            function (output) {
                $('#error').html(output).show();
            }
        );
    }
&lt;/script&gt;
</code></pre>
