jquery confirm dialog with yes no button code example
Example: jquery alert with yes no
if (confirm('Are you sure ?')) {
console.log('ok');
}else
{
console.log('cancel')
}
if (confirm('Are you sure ?')) {
console.log('ok');
}else
{
console.log('cancel')
}