jquery close confirm box on cancel 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')
}