Show a confirmation dialog upon submitting a dialog by using a standard button with a little JavaScript instead of a typical submit button.
- <form action=“ThePearl.html” method=“post”>
- <input type=“button” onclick=“if (confirm(‘Are you sure you want to submit this form?’)) submit();” value=“Submit”>
- </form>