Remove Data and trigger function

Remove Data and trigger function

aossiaossi Posts: 2Questions: 1Answers: 1

Hello,

I have a table which includes paths to images. If I remove the row with "remove" { extend: "remove", editor: editorMachines }, I only remove the row but I also want to delete the image as well. I use ajax and php to get the data. So is it possible to add a function to the existing "remove" that triggers the function with ajax and if the images are successfully deleted I receive a "success" and afterwards the row(s) are deletet?

thanks, Alex

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.