narrow-room-51024
06/12/2021, 4:58 PMgorgeous-ghost-95789
06/12/2021, 5:23 PMgorgeous-ghost-95789
06/12/2021, 5:26 PMhx-trigger to fire an event. The event can contain a parameter for the element ID to focus.user
06/12/2021, 6:07 PMuser
06/12/2021, 6:07 PMgorgeous-ghost-95789
06/12/2021, 6:10 PMgorgeous-ghost-95789
06/12/2021, 6:12 PMhx-get=“/server?page=2” hx-trigger=“revealed” on the div where the next page will go.gorgeous-ghost-95789
06/12/2021, 6:13 PMhx-get=“/server?page=3” in the next spot.gorgeous-ghost-95789
06/12/2021, 6:14 PMn+1 to the next page in the chain.user
06/12/2021, 6:16 PMbland-rainbow-1285
06/12/2021, 6:17 PMuser
06/12/2021, 6:28 PMuser
06/12/2021, 6:29 PMuser
06/12/2021, 6:29 PMsalmon-xylophone-28580
06/12/2021, 7:58 PMmysterious-toddler-20573
06/12/2021, 10:52 PMmysterious-toddler-20573
06/12/2021, 10:53 PMmysterious-toddler-20573
06/12/2021, 10:57 PMjs
htmx.onLoad(function(elt) {
for( var s of elt.querySelectorAll(".select2") ) {
$(s).select2({ placeholder: 'Select an option' })
}
});mysterious-toddler-20573
06/12/2021, 10:58 PMmost-jelly-15242
06/13/2021, 12:52 AMmysterious-toddler-20573
06/13/2021, 12:41 PMadamant-exabyte-92636
06/13/2021, 1:14 PMadamant-exabyte-92636
06/13/2021, 1:15 PMmysterious-toddler-20573
06/13/2021, 1:15 PMgorgeous-airport-54386
06/13/2021, 1:48 PMuser
06/13/2021, 7:26 PMmysterious-toddler-20573
06/13/2021, 7:46 PMuser
06/13/2021, 8:36 PMhx-get. Inside this table there is a button to delete a line with hx-delete and reload the table (the response of the DELETE is a new table without the row). What should be the hx-target in this situation (since the table is a parent of the row being deleted)?user
06/13/2021, 9:09 PMrich-oxygen-98159
06/13/2021, 10:23 PM