prevent expanding collapsible when delete btn is clicked in materialize css | Sololearn: Learn to code for FREE!

0

prevent expanding collapsible when delete btn is clicked in materialize css

I am using materialize collapsible for showing the list items. And I have two buttons, one for expanding the collapsible and the other for deleting the list, Expanding the list works fine, but when delete button is clicked I ask for confirmation for deleting the list, if "yes" it will be deleted otherwise wont be deleted. So the actual problem I am facing is when click the delete button, the confirmation pops up, and when I click "no" the list is expanding. I need to prevent this behaviour. I am attaching the link : https://code.sololearn.com/WA6a2a24767a Any help is highly appreciated Thanks

1/6/2021 5:40:43 AM

Gopinath M

1 Answer

New Answer

0