submit a form without a submit button

submit a form without a submit button
Java script submit() function in order to submit the form without explicitly clicking any submit button.
You can attach the document.formname.submit() method to onclick,onchange events of different inputs and perform the form submission.