some-hairdresser-28401
04/18/2022, 9:04 PMhx-get url?some-hairdresser-28401
04/18/2022, 10:07 PMhx-get with the url indicating the sort field and direction tied to the element that is being clicked on to change the sorting parameters. I guess it’s just that I need to get used to the simplicity (after more than 10 years of building SPAs) ☺️some-hairdresser-28401
04/18/2022, 10:27 PMhx-include will be useful for more complex scenarios…red-farmer-97020
04/18/2022, 10:46 PMred-farmer-97020
04/18/2022, 10:46 PMred-farmer-97020
04/18/2022, 10:47 PMgorgeous-ghost-95789
04/18/2022, 10:47 PMhx-vals may also work for you (https://htmx.org/attributes/hx-vals/https://htmx.org/attributes/hx-vals/)quaint-pizza-22478
04/19/2022, 8:13 AMsome-diamond-25050
04/19/2022, 10:46 AMfull-terabyte-90567
04/19/2022, 12:04 PMmysterious-toddler-20573
04/19/2022, 12:49 PMmysterious-toddler-20573
04/19/2022, 12:50 PMsome-hairdresser-28401
04/19/2022, 1:59 PMhundreds-camera-24900
04/19/2022, 3:07 PMhundreds-camera-24900
04/19/2022, 3:08 PMfamous-monitor-57000
04/19/2022, 3:56 PMaction="/form.php" method="post", but ultimately I'm using HTMX to intercept any form submissions and replace the entire from with the response from the server.
However, I've noticed that if there's a delay in the response, and I repeatedly submit the form too quickly, HTMX seems to "give up" and the form ends up being submitted normally without HTMX intercepting it. As a result I end up directly on the /form.php page.
If I remove action="/form.php" it prevents me from ever ending up directly on that page, but still if I make too many requests in a short period of time the form defaults to making a normal GET request, without any intervention by HTMX.
Is this kind of behaviour normal? If so, is there anything I can do to prevent HTMX from being overridden if I'm making lots of requests before HTMX has time to respond?
I've tried using throttle on hx-trigger, but it doesn't seem to have an effect.famous-monitor-57000
04/19/2022, 4:01 PMaction="javascript:void(0);"
Does this seem like the best way to fix the problem?famous-monitor-57000
04/19/2022, 4:05 PMonsubmit="return false;"famous-monitor-57000
04/19/2022, 4:11 PMaction="/tool.php" method="post", but otherwise cancels the form submission in all circumstances.proud-librarian-99598
04/19/2022, 4:22 PMgorgeous-ghost-95789
04/19/2022, 7:16 PMgentle-notebook-11755
04/19/2022, 7:28 PM`url?color=orange
If on a second try, I deselect color, and select material and use, I'm getting:
url?color=orange&material=paper&use=fun
I want the url parameters to be cleared and refreshed only with what I choose each time. Does anyone know how to do this? Thank you so much.gorgeous-airport-54386
04/19/2022, 7:29 PMgentle-notebook-11755
04/19/2022, 7:30 PMgorgeous-airport-54386
04/19/2022, 7:31 PMgentle-notebook-11755
04/19/2022, 7:31 PMhundreds-camera-24900
04/19/2022, 9:08 PMhundreds-camera-24900
04/19/2022, 9:08 PMhundreds-camera-24900
04/19/2022, 9:08 PMstocky-dentist-80693
04/19/2022, 9:56 PM