hx-pod

Htmx request headers: Hx-Target


Listen Later

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

...more
View all episodesView all episodes
Download on the App Store

hx-podBy Lazarus

  • 5
  • 5
  • 5
  • 5
  • 5

5

6 ratings