jQuery .post不触发

I can't seem to get jquery .post to actually trigger. Where is the glaring hole? The alert functions on click, but not the post. Doesn't show up in firebug console either...

 <script type="text/javascript">
 $(document).ready(function() {
     $('#submitemail').click(function(){
               alert('this works');
               $.post("post.php","email=joe.blow@gmail.com&user=1");
     });
 });
 </script>

Try this:

<script type="text/javascript">
    $(document).ready(function() {
        $('#submitemail').click(function(e){
            e.preventDefault();
            alert('this works');
            $.post("post.php", {email: "joe.blow@gmail.com", user: "1"});
        });
    });
</script>

The issue may be that the anchor is firing before the post javascript fires.

Add a success function to check the post:

$.post("post.php", {email: "joe.blow@gmail.com", user: "1"}, function(data){
    alert("return data: " + data);
});