How can we submit a form without a submit button? | PHP Questions

If you don't want to use the Submit button to submit a form, you can use normal hyper links to submit a form. But you need to use some JavaScript code in the URL of the link.

For example:
<a href="javascript: document.myform.submit();">Submit Me</a>

0 comments:

Post a Comment

Blogger news