How to confirm before submitting a form with popup box
This will come in handy if you want to confirm before deletion in your web design so you don't accidentally delete items without meaning to. Modify your submit button to this:
The important part here is the onClick attribute. And then add this somewhere on your page on top of the form:
That should do the trick :)
We thought you might like to see these other posts about web design...
Kim Young is Founder, CEO, and a developer at Foo - a web development company based in Wesley Chapel, Florida. She can also be found on Google+. With over 16 years of experience as a web developer, Kim is excited to share with you tidbits that she has picked up along the way. Kim prioritizes continuing education and out of box thinking in order to bring the most valuable solution to Fooweb's clients.