skip to Main Content

Delete file using Coldfusion via jQuery ajax

I am trying to delete image files, after populating data about the file in a modal. My jQuery looks like this: const deleteMedia = () => { const url = '../../includes/delete-media.cfc?method=deleteMedia'; $(document).on('click', '.confirm-delete', () => { const fileName = $('.modal-wrapper').find('.file-name').text();…

VIEW QUESTION
Back To Top
Search