confirm box in jquery with yes no option before change url or page 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')
}