javascript alert submit comment code example
Example: form confirm before submit
<form
method="post"
onSubmit="return confirm('Are you sure you wish to delete?');">
...
</form>
<form
method="post"
onSubmit="return confirm('Are you sure you wish to delete?');">
...
</form>