alerts - Yes or No confirm box using jQuery - Stack Overflow
I've used these codes: HTML: Delete JQUERY: $("#delete-button").click(function(){ if(confirm("Are you sure you want to delete this?")){ $("#delete-button").attr("href", "query.php?ACTION=delete&ID='1'"); } else ......