The hx-post and hx-swap attributes tell htmx: "When a user clicks on this button, issue an AJAX request to /clicked, and replace the entire button with the response" At this point you can modify ...
This concept isn’t new—in fact, it is the essence of representational state transfer (REST). Instead of converting to a ...