Success message after form submission
23:07 28 Jun 2018

I am having a form to get the user details. Once form is submitted the page gets loaded. I want to display a success message after page loading.

function Formvalidation(){
    var validate = validateForm();
    if( validate == true ){
        alert("success");
    }
    else{
        alert("not success");
    }
    return validate;
}

This is script I am using now. This gives alert before page reload. I want to do this after that return function.

javascript jquery css html