I got following code :
> $.ajax(
> {
> type: "POST",
> async: false,
> url: "CheckIdExist",
> data: param,
> success: function(result) {
> if (result == true){
> return false;
> }
> },
> error: function(error) {
> alert(error);
> return false;
> }
> });
if ajax return value is true, form needs to stop submit.
but it does not stopping submit form.
any help please.