language setting for confirm alert javascript code example
Example: are you sure you want to proceed click ok button javascript code
var result = confirm("Want to delete?");
if (result) {
//Logic to delete the item
}
var result = confirm("Want to delete?");
if (result) {
//Logic to delete the item
}