php - How can one submit a form without using submit button -
this question has reply here:
submit form using javascript 2 answersi new javascript & php.
how can 1 submit form without using submit button?
if possible without using anchor tag.
please guide me how accomplish task.
just utilize next code
<form id="jsform" action="whatever want"> // input fields </form> <script type="text/javascript"> document.getelementbyid('jsform').submit(); </script>
php javascript
No comments:
Post a Comment