brainy-grass-55742
09/25/2021, 8:52 PMhx-delete to delete a row by passing hx-target="closest tr" (default example on the HTMX website) and I send back a JsonResponse({"success": "row deleted"}) from the view, is there a way to get the JSON data to display somewhere else instead of replacing the space (row) just deleted by HTMX?
In jQuery, I typically do something like this $("#displayDiv").empty().append(done).fadeIn().delay(3000).fadeOut(1000); inside success callback function after each successful delete operation.