Google News
logo
JavaScript - Interview Questions
How can you submit a form using JS?
To submit a simple form, the below code will work.
 
document.form[0].submit();
Advertisement