mysterious-toddler-20573
08/23/2022, 3:35 AMmysterious-toddler-20573
08/23/2022, 3:35 AMmysterious-toddler-20573
08/23/2022, 3:36 AMmysterious-toddler-20573
08/23/2022, 3:37 AMmysterious-toddler-20573
08/23/2022, 3:38 AMechoing-nest-31408
08/23/2022, 3:38 AMechoing-nest-31408
08/23/2022, 3:38 AMmysterious-toddler-20573
08/23/2022, 3:39 AMmysterious-toddler-20573
08/23/2022, 3:39 AMhappy-knife-63802
08/23/2022, 7:15 AMechoing-nest-31408
08/23/2022, 7:46 AMechoing-nest-31408
08/23/2022, 7:51 AMhtml
<button id="adults_{{i}}_remove_button" name="adults_{{i}}_remove_button" tabindex="-1" onclick='if (confirm("Are you sure you want to remove this adult?")) { htmx.trigger("#adults_{{i}}_remove_button", "custom-trigger"); return true; } else { return false; };' type="submit" name="remove_adult" value="{{i}}" hx-vals='{"remove_adult": "{{i}}"}' hx-post="" hx-trigger="custom-trigger">x</button>
echoing-nest-31408
08/23/2022, 7:52 AMechoing-nest-31408
08/23/2022, 7:53 AMechoing-nest-31408
08/23/2022, 7:57 AMbumpy-cricket-7187
08/23/2022, 8:07 AMdata
which triggered ws-send
to payload? I'm trying to catch keydown
and can only see id
or name
of the div
which has hx-trigger="keydown from:body" ws-send
. Thanks in advance.happy-knife-63802
08/23/2022, 8:24 AMhappy-knife-63802
08/23/2022, 8:25 AMechoing-nest-31408
08/23/2022, 8:25 AMechoing-nest-31408
08/23/2022, 8:25 AMechoing-nest-31408
08/23/2022, 8:28 AMmammoth-family-48524
08/23/2022, 8:59 AMloud-action-20310
08/23/2022, 10:53 AMrequire
loud-action-20310
08/23/2022, 10:54 AMimport _htmx from "htmx.org"
const htmx = _htmx
results in Uncaught TypeError: htmx.find is not a function
in this call
document.addEventListener('htmx:beforeRequest', () => {
htmx.removeClass(htmx.find('#bouncing-loader'), 'hidden')
})
loud-action-20310
08/23/2022, 10:56 AM<script src...
but there are still fans of the bundle toolsproud-librarian-99598
08/23/2022, 1:42 PMtall-dinner-62086
08/23/2022, 1:43 PMmysterious-toddler-20573
08/23/2022, 1:46 PMmysterious-toddler-20573
08/23/2022, 1:47 PMproud-librarian-99598
08/23/2022, 2:07 PM