SyntaxFix
Write A Post
Hire A Developer
Questions
You can use browser default prompt window. Instead of basic <input type="submit" (...) > try:
<input type="submit" (...) >
<button onClick="if(confirm(\'are you sure ?\')){ this.form.submit() }">Save</button>