mysterious-toddler-20573
11/02/2020, 5:58 PMmysterious-toddler-20573
11/02/2020, 5:59 PMmysterious-toddler-20573
11/02/2020, 5:59 PMmysterious-toddler-20573
11/02/2020, 5:59 PMmysterious-toddler-20573
11/02/2020, 6:00 PMmysterious-toddler-20573
11/02/2020, 6:01 PMuser
11/02/2020, 6:02 PMancient-soccer-8576
11/02/2020, 6:03 PMancient-soccer-8576
11/02/2020, 6:04 PMancient-soccer-8576
11/02/2020, 6:05 PMmysterious-toddler-20573
11/02/2020, 6:58 PMmysterious-toddler-20573
11/02/2020, 6:59 PMancient-soccer-8576
11/02/2020, 7:42 PMgorgeous-ghost-95789
11/02/2020, 8:04 PMgorgeous-ghost-95789
11/02/2020, 8:05 PMancient-soccer-8576
11/02/2020, 10:08 PMgorgeous-ghost-95789
11/02/2020, 10:10 PMmysterious-toddler-20573
11/03/2020, 1:41 AMgorgeous-ghost-95789
11/03/2020, 3:15 AMgorgeous-ghost-95789
11/03/2020, 3:15 AMlate-tent-52036
11/03/2020, 7:07 AMmost-jelly-15242
11/03/2020, 1:50 PMredirect
, you can trigger a reload
event and listen to that to run location.reload()
mysterious-toddler-20573
11/03/2020, 7:04 PMclean-kitchen-15473
11/03/2020, 7:08 PMhtml
<a class="list-group-item list-group-item-action"
id="#qPestImages.asv_key#"
data-toggle="list"
href="##list-#qPestImages.asv_key#"
role="tab"
aria-controls="#qPestImages.asv_key#">
<img style='object-fit:cover; height:50px; width:50px' src='#APPLICATION.URL_DAM##qPestImages.imagePath#'></img>
<span class='pl-2'>#qPestImages.asv_caption#</span>
</a>
Im outputting a list of these to click on which is basically this
https://getbootstrap.com/docs/4.0/components/list-group/#javascript-behavior
I want to try to send the one I click to the backendmysterious-toddler-20573
11/03/2020, 7:21 PMhx-vars="id:'whatever-the-id-is'"
as well, to include the id variable in the request: https://htmx.org/attributes/hx-vars/mysterious-toddler-20573
11/04/2020, 12:43 AMmysterious-toddler-20573
11/04/2020, 12:44 AMhx-include
parameter, if you would prefer that https://htmx.org/attributes/hx-include/mysterious-toddler-20573
11/04/2020, 12:44 AMhx-vars
works well