I have a delete button that is tied to some comments on a page i have. When you click the delete button i am trying to get a confirm dialog box to pop up asking if you are
function confirmCancel(){
var msj='Are you sure that you want to delete this comment?';
if (!confirm(msj)) {
return false;
} else {
window.location='backcables.php';
}
}