Hi,
I have a delete button on my web site which I want to add a confirm box to. I have wrote the following code in JQuery but I'm unsure how to continue with the page load if the user confirms the delete. e.g. what do I put inside the if statement to reverse the preventDefault?
$(".delete").click(function(e){
e.preventDefault();
if (confirm('Are you sure you want to delete this?')) {
NEED SOMETHING IN HERE TO CONTINUE WITH THE LOADING OF THE PAGE
}
});
Thanks