I have a php script with x number of row, all with a checkbox with id as name. Deleting the selected rows is no problem. Problem is that on might be too quick with pressing delete, so i need a confirmation box:
Is there a way with javascript to put an alert box with yes and no. So when user submits the form the alert box will show and if user clicks yes, the script is run and the rows are deleted, but if the user clicks no, the box close and nothing happens?