This small but very handy piece of code…
onclick="javascript:return confirm('Are you sure you want to delete this?')"
For example:
<input type="submit" name="button" value="Delete Page" onclick="javascript:return confirm('Are you sure you want to delete this?')" />
Main Category