Submit form using javascript
Simply to submit a form using javascript you can write:
document.getElementById(<span style="color: maroon">'myForm'</span>).submit();
In the following code you will see a special case where the form is not appearing…