I have a form, and when I press the submit button:
- In the same file, I want to complete several tasks (db task) AND
- I desire the form's data to be forwarded to test.php
yet, I am unable to submit the form. If I call the javascript code on onClick, though, it functions. what the issue is with this code, Is there a solution to this?