jquery rewert с да нет
if (confirm('Are you sure ?')) {
console.log('ok');
}else
{
console.log('cancel')
}
Agreeable Angelfish
if (confirm('Are you sure ?')) {
console.log('ok');
}else
{
console.log('cancel')
}