How do I close the form after submission?

To close a form window after submitting, you can use JavaScript to handle the form submission and close the window.

<form method="post" enctype="multipart/form-data" >
    <button accesskey="C" onclick="form.submit(); alert('waiting...'); window.close()"> Submit</button>
 </form>

administrator

Leave a Reply

Your email address will not be published. Required fields are marked *