Listen "The basics: hx-vals"
Episode Synopsis
How do you feel about setting your request values right there inline?STATIC<button hx-get="/my/weather/data" hx-trigger="click" hx-vals='{"location": "01245"}'> Click for weather in one static location</button>DYNAMIC<button hx-get="/my/weather/data" hx-trigger="click" hx-vals='js:{location: document.getElementById("zipcode").value}'> Click for weather in one static location</button>OR<button hx-get="/my/weather/data" hx-trigger="click" hx-vals='js:{location: someJavascriptCalculationFunction()}'> Click for weather in one static location</button>
More episodes of the podcast hx-pod
Hypermedia in the wild
26/09/2025
3d and flappy bird htmx
05/09/2025
Htmx extension: response-targets
29/08/2025
Big Sky Dev Con 2025
19/08/2025
Htmx extension: preload
07/08/2025
Htmx extension: idiomorph
01/08/2025
Htmx extension: htmx-1-compat
30/07/2025
Htmx extension: head-support
28/07/2025
Datastar 1.0 launch with Delaney Gillilan
18/07/2025
Self-destructing polling
24/06/2025