hundreds-camera-24900
06/14/2022, 9:46 PMhundreds-camera-24900
06/14/2022, 9:46 PMmysterious-toddler-20573
06/14/2022, 9:49 PMmysterious-toddler-20573
06/14/2022, 9:50 PMsome-diamond-25050
06/15/2022, 7:46 AMsome-diamond-25050
06/15/2022, 11:16 AMmysterious-toddler-20573
06/15/2022, 4:06 PMhtmx:configRequest eventhundreds-camera-24900
06/15/2022, 7:07 PMwhite-motorcycle-95262
06/16/2022, 2:45 PM<script
type="text/javascript"
src="https://www.cdn.com/lib/etc"
_="
on load
<hyperscript or js here>
end
"
></script>
So, I guess the script tag/library DOES get loaded once HTMX finishes (which might be what you mean), but referencing it after the fact can cause trouble. If you don't wait for the load event then things won't be defined. Doing somehting like
<script src="htts://www.cdn.net/etc"></script>
<script>
<my js that references the lib above>
</script>
Won't work, though, since the lib likely isn't loaded when the second script tag is parsed.hundreds-camera-24900
06/16/2022, 3:28 PMwhite-motorcycle-95262
06/16/2022, 3:29 PMhundreds-camera-24900
06/16/2022, 3:29 PMhundreds-camera-24900
06/16/2022, 3:29 PMgreen-flower-49070
06/16/2022, 7:05 PMgreen-flower-49070
06/16/2022, 7:05 PMgreen-flower-49070
06/16/2022, 7:05 PMgreen-flower-49070
06/16/2022, 7:08 PMgreen-flower-49070
06/16/2022, 7:09 PMmysterious-toddler-20573
06/16/2022, 8:31 PMblue-ghost-19146
06/16/2022, 8:56 PMmysterious-toddler-20573
06/16/2022, 9:07 PMmysterious-toddler-20573
06/16/2022, 9:29 PMmysterious-toddler-20573
06/16/2022, 9:30 PMblue-ghost-19146
06/16/2022, 9:33 PMblue-ghost-19146
06/16/2022, 9:33 PMmysterious-toddler-20573
06/16/2022, 9:34 PMblue-ghost-19146
06/17/2022, 6:07 AMblue-ghost-19146
06/17/2022, 8:09 AMblue-ghost-19146
06/17/2022, 8:09 AM