Delete Query is Not Working

I am trying to delete query from my db i have created a form which has button and Textarea input where the db ids are placed i want to delete them when button click but the
delete is not working…

please try to resolve my issue.

I can’t see what your for is doing. It needs to be to connected to a server action which will delete the record. This article in the docs covers this in detail.