mysterious-toddler-20573
02/22/2022, 9:17 PMprehistoric-smartphone-78535
02/22/2022, 9:20 PMhandsome-room-10543
02/22/2022, 9:29 PMmysterious-toddler-20573
02/22/2022, 9:36 PMmysterious-toddler-20573
02/22/2022, 9:36 PMhandsome-room-10543
02/22/2022, 9:39 PMmysterious-toddler-20573
02/22/2022, 9:40 PMadamant-exabyte-92636
02/22/2022, 9:42 PMhandsome-laptop-14449
02/22/2022, 10:10 PMbrainy-ice-92385
02/22/2022, 10:10 PMhistory =, but I'm a barbarian like thatbrainy-ice-92385
02/22/2022, 10:11 PMhx-get to the value of a variable? Or simply set hx-get programattically?adamant-exabyte-92636
02/22/2022, 10:11 PMadamant-exabyte-92636
02/22/2022, 10:15 PMhandsome-laptop-14449
02/22/2022, 10:15 PMhandsome-laptop-14449
02/22/2022, 10:15 PMadamant-exabyte-92636
02/22/2022, 10:17 PMhandsome-laptop-14449
02/22/2022, 10:18 PMhandsome-laptop-14449
02/22/2022, 10:27 PM<a x-data="{url: '/fund/'+fund.id}" x-bind:hx-get="url">
<span x-text="fund.title"></span>
</a>adamant-exabyte-92636
02/22/2022, 10:28 PMhandsome-laptop-14449
02/22/2022, 10:29 PMadamant-exabyte-92636
02/22/2022, 10:30 PMhandsome-laptop-14449
02/22/2022, 10:30 PMhandsome-laptop-14449
02/22/2022, 10:32 PMadamant-exabyte-92636
02/22/2022, 10:41 PMhx-include that returns no matches on page load. Thing is, that selector points at... nothing initially, because the dom element(s) it points at, gets created by a JS widget later on. By the time the htmx request is made (user selects an option from a dropdown), the elements are there and get included correctly in the request and everything works just fine... but I've got a browser console that's redder then me on my 1st day on the beach after winter. Any ideas, besides just ignoring my angry console?adamant-exabyte-92636
02/22/2022, 10:42 PMhundreds-camera-24900
02/22/2022, 10:50 PMhundreds-camera-24900
02/22/2022, 10:51 PM@htmx:before-request="alert('foo')"mysterious-toddler-20573
02/22/2022, 10:54 PMmysterious-toddler-20573
02/22/2022, 10:55 PMmysterious-toddler-20573
02/22/2022, 10:55 PM