I put a breakpoint on the controller action but it never fires. Is there anyway to catch errors on a jquery post?

here is my jquery javascript code:

```
  <script type="text/javascript">
    $(document).ready(function() {

        $('#commitExerciseButton').live('click', function() {

            $.post($("#exerciseForm").attr('action'), $("#exerciseForm").serialize(), function(data) {

                $("#exercise").html("<h1>Exercise Added</h1>");
                $("#tabs-2").html(data);

            });
            return false;
        });
    });
</script>

```

EDIT:
-----

I figured out the issue.. i had to do:

**$("#exerciseForm Form").serialize()** instead of **$("#exerciseForm").serialize()**