i am using ajaxForm() frame work to send my data without reloading my page.
$(\'#ReplayForm\').ajaxForm({ success : function(data){ aler
You can use the beforeSubmit option
$('#ReplayForm').ajaxForm({ beforeSubmit: function (arr, $form, options) { //check your conditions and return false to prevent the form submission if (!valid) { return false; } }, success: function (data) { alert("Success"); } });