Submit form

Submit form


Hi
I make use of the tabs method and the Ajaxify plugin (written by MaX)
to call pages withing the same (specified) div. I am not sure how to
submit the form though. Been searching how..and Klaus mentioned that I
should use the form plugin to do this.
am i correct to be using:
<script type="text/javascript" src="../JS/jQuery/ajaxify.js"></
script>
<script type="text/javascript">
$(document).ready(function() {
$('.ajaxify').ajaxify(); // making
$().ajaxStart(function() {
        $('#loading').show();
        $('#result').hide();
    }).ajaxStop(function() {
        $('#loading').hide();
        $('#result').fadeIn('slow');
    });
    $('#myForm).submit(function() {
        $.ajax({
            type: 'POST',
            url: $(this).attr('action'),
            data: $(this).serialize(),
            success: function(data) {            }
        })
        return false;
    });
});
</script>
my jsp page:
<form id="myForm" action="dosomething.jsp" method="post">
<input type="submit" value="submit" />
</form>
however it doesn't seem to do anything.
am i correct if i put this code in the page that is submitting? what
if i use <jsp:forward..> ?
is is possible?
thanks