confirm in jquery with yes no 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')
}