How to Submit a HTML form automatically ?

QuestionsCategory: PHP QuestionsHow to Submit a HTML form automatically ?
1 Answers
Slide Scope Staff answered 1 year ago

You can submit a form automatically using Javascript.
If a condition is true you can tell your program to execute these lines
<script type=”text/javascript”>
    document.getElementById(‘form3’).submit(); // SUBMIT FORM
</script>
Here form3 is the ID of that form which you want to submit automatically.

Your Answer

1 + 10 =