Submit a Form using Javascript (Works in all Browsers)

You can submit a form using JavaScript in many ways. The way I am going to show will work in all the browsers without fail.

Look at the below script.


<script>
function submitform(){
form1.submit();
}
</script>

So, submit() is a …