Sometimes we need a confirmation box like “Are you sure to delete this record” before deleting a record from database. In this article i will tell you about how to integrate the confirmation box for deleting a records from database with a simple example. I will use Bootstrap Confirmation plugin in laravel for this.

laravel

As we all know how important a confirmation alert before deleting something from database. If we are not using any confirmation and if by mistake a user click on the delete button, It may cause the data loss.