gray-morning-3453
12/09/2021, 6:36 AMfrom:body on the target div.
Thanks @benplatesalmon-xylophone-28580
12/09/2021, 12:13 PMgray-morning-3453
12/09/2021, 4:13 PMmost-jelly-15242
12/09/2021, 5:42 PMhtmx:configRequest event and then change evt.detail.path which is what eventually gets used for the request.gray-morning-3453
12/09/2021, 5:49 PMcases/<case_id>/permissions/<user_id>/
But I have now changed it to simply:
cases/<case_id>/permissions/ and now I send my user_id through a form's get request. I realized I dont need a pretty url, query parameters will do just fine because this is an ajax request anyway and the browser url will as it is.gray-morning-3453
12/09/2021, 5:50 PMnarrow-chef-14221
12/09/2021, 10:11 PMnarrow-chef-14221
12/09/2021, 10:12 PMenough-grass-99356
12/09/2021, 10:35 PMon change go to url my valuenarrow-chef-14221
12/09/2021, 10:35 PMnarrow-chef-14221
12/09/2021, 10:36 PM<select _="on change go to url my value"> ?narrow-chef-14221
12/09/2021, 10:36 PMenough-grass-99356
12/09/2021, 10:38 PMgo to url <url> is one of the possible syntaxes of the go command - it just tells the command that you're going to a whole new page, rather than going to an anchor or element on the same page.narrow-chef-14221
12/09/2021, 10:38 PMnarrow-chef-14221
12/09/2021, 10:39 PMnarrow-chef-14221
12/09/2021, 10:40 PM/some/path?option=<value>narrow-chef-14221
12/09/2021, 10:40 PMvalue=123 and so onenough-grass-99356
12/09/2021, 10:44 PMgo to url my value use something like:
on change go to url ('/some/path?option=' + my value)narrow-chef-14221
12/09/2021, 10:46 PMlate-king-98305
12/09/2021, 11:57 PMlate-king-98305
12/09/2021, 11:57 PMgorgeous-iron-50959
12/10/2021, 4:18 PMmysterious-toddler-20573
12/10/2021, 4:26 PMgorgeous-iron-50959
12/10/2021, 4:59 PM<div>
<div id="infotoggle" _="on click alert('hyp')"><b>Info Test Load</b></div>
<div id="test"><div id="infotoggle" _="on click alert('hyp')"><b>Info Test Htmx</b></div> </div>
</div>mysterious-toddler-20573
12/10/2021, 5:09 PM#test get loaded?gorgeous-iron-50959
12/10/2021, 5:19 PMmysterious-toddler-20573
12/10/2021, 5:19 PMmysterious-toddler-20573
12/10/2021, 5:19 PMgorgeous-iron-50959
12/10/2021, 5:22 PMmysterious-toddler-20573
12/10/2021, 5:40 PM_hyperscript.processNode() on the added content