Here's my code it works fine in IE and Chrome, but not in FF
<script type="text/javascript"> function get() { $.post( 'regAuth.php', {usrName: login.usrName.value, password: login.password.value}, function (output) { $('#error').html(output).show(); } ); } </script>