czy na pewno chcesz kontynuować kliknij przycisk OK JavaScript kod
var result = confirm("Want to delete?");
if (result) {
//Logic to delete the item
}
Bored Bee
var result = confirm("Want to delete?");
if (result) {
//Logic to delete the item
}
<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>