Feat: Activites Organised

This commit is contained in:
Sallu9007
2025-03-24 01:54:58 +05:30
parent 4352abdbd1
commit 98522c4213
12 changed files with 1061 additions and 10 deletions

View File

@@ -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