We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode Htmx request headers: Hx-Target

Htmx request headers: Hx-Target

2024/5/1
logo of podcast hx-pod

hx-pod

Shownotes Transcript

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