Submit Register Form without refreshing the page

<!—- index.php page—-> <html> <body> <!——making jquery library’s link —> <script src=”//”></script> <script> function validate() { //——–value of fields ——— var name = document.getElementById(“name”).value; var email = document.getElementById(“email”).value; var phone = document.getElementById(“phone”).value; //—— error fields are identified first ——– var error_name_id = document.getElementById(“error_name”); var error_email_id = document.getElementById(“error_email”); var error_phone_id = document.getElementById(“error_phone”); var error_msg = document.getElementById(“error_msg”); … Read moreSubmit Register Form without refreshing the page