Feat: Activites Organised
This commit is contained in:
@@ -236,8 +236,7 @@
|
||||
});
|
||||
};
|
||||
// Replace this event handler in your script
|
||||
$('#responses-table').on('click', '.delete-btn', function() {
|
||||
console.log("hsjda");
|
||||
$('#responses-table').on('click', '.delete-btn', function() {
|
||||
if (confirm('Are you sure you want to delete this record?')) {
|
||||
const id = $(this).data('id');
|
||||
const url = $(this).data('url'); // Use the data-url attribute instead of hardcoded path
|
||||
|
||||
Reference in New Issue
Block a user