Episode Details

Back to Episodes

Htmx request headers: Hx-Target

Season 3 Episode 3 Published 1 year, 10 months ago
Description

Let's your server know what the id is of the hx-target!
You need 2 things to send this request header:
1. Use the attribute: hx-target="some_id"
2. Use a DOM id as the target: some_id needs to be an id, not another css selector

Listen Now

Love PodBriefly?

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

Support Us