hx-pod
hx-pod
Lazarus
The basics: hx-swap-oob
5 minutes Posted Jan 22, 2024 at 6:37 pm.
0:00
5:41
Download MP3
Show notes

This is a new idea: let your response decide its own target(s)! 

<div id="my-update-div" hx-swap-oob="true">Updated html</div>

<div id="my-update-div-2" hx-swap-oob="true">More updated html elsewhere on the page</div>