One work around would be to used a button
rather than a submit
input, then use a click listener to run alertify. This could then submit your form via jQuery. Here's how it might look:
HTML:
<form id="form">
<input type="button" value="Submit" id="btn">
</form>
JavaScript:
$('#btn').click(function() {
alertify.confirm("Delete the selected entry?",function(e){
if(e) {
$('#form').submit();
return true;
} else {
return false;
}
});
});