Delete button - How to implement
Delete button - How to implement
Does anybody have an idea on how to implement a delete button to my code below? I have successfully been able to connect to my data base and query the data below but now I want users to be able to cancel their own appointments. Any idea?
$(document).ready(function() {
$('#data').DataTable( {
"ajax": '/api/data',
columns: [
{data: 'first_name'},
{data: 'second_name'},
{data: 'date', searchable: true},
{data: 'slot_time', searchable: true},
{data: 'Description'}
],
} );
} );
This question has an accepted answers - jump to answer
Answers
This is a duplicated of this thread. Please don't post duplicate questions. See my answers in your other thread.
Kevin