jquery-form and submit cancel

jquery-form and submit cancel

I tried in many ways, but if I use the jquery-form pluging then cancelling from .submit doesn't work any more (no return false, no event.preventDefault()).

I reduced the problem to a trivial test case

            jQuery("#myform").ajaxForm();
            jQuery("#myform").submit(
            function(event)
            {
               event.preventDefault();
               return false;
            });

even this one always does the request.

Note that jQuery("#myform").ajaxSubmit(...) works fine... the problem is that I also get a second request.

What am I doing wrong ?