billions-window-36824
04/25/2023, 8:28 PMbillions-window-36824
04/25/2023, 8:28 PMgorgeous-airport-54386
04/25/2023, 8:28 PMgorgeous-airport-54386
04/25/2023, 8:28 PMbillions-window-36824
04/25/2023, 8:28 PMmodern-fountain-74534
04/25/2023, 11:35 PMgreat-cartoon-12331
04/25/2023, 11:43 PM<script>
tag was almost lost in the mists of timewooden-magician-49694
04/26/2023, 6:55 AMrefined-waiter-90422
04/26/2023, 7:03 AMwooden-magician-49694
04/26/2023, 7:09 AMrefined-waiter-90422
04/26/2023, 7:10 AMrefined-waiter-90422
04/26/2023, 7:11 AMrefined-waiter-90422
04/26/2023, 7:18 AMrefined-waiter-90422
04/26/2023, 7:18 AMmysterious-toddler-20573
04/26/2023, 12:53 PMhtmx:confirm
event handler at the body level to gate every request: https://htmx.org/events/#htmx:confirmmysterious-toddler-20573
04/26/2023, 12:54 PMmysterious-toddler-20573
04/26/2023, 12:54 PMmysterious-toddler-20573
04/26/2023, 12:54 PMwooden-magician-49694
04/26/2023, 12:55 PMmysterious-toddler-20573
04/26/2023, 12:57 PMhx-boost
, the history API is opt in via hx-push-url
wooden-magician-49694
04/26/2023, 1:00 PMfuture-plumber-63481
04/26/2023, 2:09 PMhx-push-url
include the query params from the form on submit but still using the current url? Or is there another method for what I'm trying to achieve? The following results in the url /posts?foo=bar
but what I'd like is /existing-url?foo=bar
. Does that make sense?
<form id="postform"
hx-get="/posts"
hx-push-url="true"
hx-target="#postlist"
hx-trigger="change">
bland-coat-6833
04/26/2023, 2:12 PMbland-coat-6833
04/26/2023, 2:13 PMfuture-plumber-63481
04/26/2023, 2:16 PM/my-form
. The above code with hx-push-url included results in a url of /posts?foo=bar
after the form is changed. Without hx-push-url included I get /my-form
. What I'd like is /my-form?foo=bar
. Is that possible?bland-coat-6833
04/26/2023, 2:20 PMfuture-plumber-63481
04/26/2023, 2:21 PMripe-action-67367
04/26/2023, 3:25 PM