Automatic submit a form without pressing enter button.
This example will automatically submit a form to another page without pressing enter button.
The JavaScript must be at the end in your form.
Name in your form action, must be the same as the JavaScript document.'name of form'.submit();
Example code:
|
<form action="test.cfm" NAME="Add_Update" METHOD="post"> |
test.cfm file:
|
<cfoutput> |
Advertisement
No User Comments.
No User Comments, be the first one to write your comments?

