> $('#form1').ajaxForm(function() { > alert("It helps to enter the correct form name."); > });
:-) By the way, you don't need to guard against accidentally invoking ajaxForm more than once on the same form. ajaxForm won't bind the submit event multiple times. Just in case you were wondering about that.