3 ms·
Not to send data, but receive data and update the UI accordingly. I looked a bit through their examples and it seems that they expose a way to update the UI wit
by XCSme 6y ago
Not to send data, but receive data and update the UI accordingly. I looked a bit through their examples and it seems that they expose a way to update the UI with the response from the AJAX calls, but probably server has to return the entire HTML code?
- recursivedoubts 6y agoyes, responses are expected to be in HTML but you can use the client-side-templates plugin if you want to run responses through a client-side template engine: https://htmx.org/extensions/client-side-templates/ https://htmx.org/extensions/client-side-templates/