InterviewSolution
Saved Bookmarks
| 1. |
How Can We Submit Form Without A Submit Button? |
|
Answer» We can USE a simple JavaScript code linked to an event trigger of any form FIELD. In the JavaScript code, we can call the document.form.submit() FUNCTION to submit the form. For EXAMPLE: <input type=button VALUE="Save" onClick="document.form.submit()">. We can use a simple JavaScript code linked to an event trigger of any form field. In the JavaScript code, we can call the document.form.submit() function to submit the form. For example: <input type=button value="Save" onClick="document.form.submit()">. |
|