Oct 15, 2014

Explain how to submit form without a submit button ?

A form data can be posted or submitted without the button in the following ways:
1. On OnClick event of a label in the form, a JavaScript function can be called to submit the form
e.g. document.form_name.submit()
2. Using a Hyperlink: On clicking the link, JavaScript function can be called
e.g <a.href=" javascript:document.MyForm.submit();">

0 comments:

Post a Comment