In order to refresh a page after an HTML form submission, use one of the following
- Use the below code In HTML form
<form onsubmit="setTimeout(function(){window.location.reload();},10);">
2.Use location.reload();(Make this call via JavaScript)
document.getElementById("frmStudent").onsubmit = function(){
location.reload(true);
}