Episode Details

Back to Episodes

The basics: hx-preserve

Season 1 Episode 14 Published 2 years ago
Description

Updating a chunk of the DOM is easy --  but what if you wanted to leave one element alone?

Content preserved

Content will NOT be swapped out in the request, as long as the id in the request data matches.

https://htmx.org/attributes/hx-preserve/

Listen Now

Love PodBriefly?

If you like Podbriefly.com, please consider donating to support the ongoing development.

Support Us