Snippets has posted 5883 posts at DZone. View Full User Profile
// confirm() returns true or false
// submit() is only called on true and submits the form
<h1>Howto Confirm Delete</h1>
<form action="delete.html" method="post">
<input type="button" onclick="if (confirm('sure?')) submit();" value="delete">
Discover best practices and the most useful tools for building the ideal integration architecture.
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...