I’ve been using notiflix confirmation for a while now, and i’ve been trying to do a nested confirmation. But the second confirmation is not showing.
Notiflix.Confirm.show(
'Confirmation',
'Use second confirmation?',
'Yes',
'No',
() => {
//When yes has been clicked
Notiflix.Confirm.show(
'Confirmation',
'Is this your second confirmation?',
'Yes',
'No',
() => {
console.log('yes')
},
()=>{
console.log('no')
})
},
()=>{
//When no has been clicked
})
Here’s my cdn
<script src="~/Scripts/jquery-3.3.1.min.js"></script>
<script src="~/Scripts/notiflix-3.2.6.min.js"></script>
Is there something im missing or is nested confirmation isn’t possible to do?
You need to sign in to view this answers