
Sign up to save your podcasts
Or


Updating a chunk of the DOM is easy -- but what if you wanted to leave one element alone?
Content preservedContent will NOT be swapped out in the request, as long as the id in the request data matches.
https://htmx.org/attributes/hx-preserve/
By Lazarus5
66 ratings
Updating a chunk of the DOM is easy -- but what if you wanted to leave one element alone?
Content preservedContent will NOT be swapped out in the request, as long as the id in the request data matches.
https://htmx.org/attributes/hx-preserve/

1,944 Listeners

584 Listeners

75 Listeners

18 Listeners

15,518 Listeners

26 Listeners

2 Listeners

0 Listeners