I want to hide my form when I click on the submit button. My code is as follows:
Through JavaScript
document.getElementById("test").style.display="none";
Through Jquery
$('#test').hide();