, JS .
$('#myForm').ajaxForm(function() {
//Do your JS execution
});
$.get(), $.post(). $ajaxForm() .., $.ajax().
ajaxSubmit(), $.ajax, , , : false /.
// attach handler to form submit event
$('#myFormId').submit(function() {
// submit the form
$(this).ajaxSubmit({
success: function(result){ callbackFunction(result); }
,error: function(msg,XMLStatus,err){ errFunction(msg,XMLStatus,err); }
});
// return false to prevent normal browser submit and page navigation
return false;
});
, .