'Combining HTMX with bootbox.js
I found this interesting example of combining htmx
with sweetalert2
: https://htmx.org/examples/confirm/
I tried around a little to get it up and running with bootbox.js
but I just don't get any reply:
<a class="pointer" hx-delete="/delete/"
hx-trigger="confirmed"
_="on click
call bootbox.confirm({message: 'Do you want to delete it?'})'
if result trigger confirmed">
Delete object
</a>
Any idea what I might be doing wrong?
Thx!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|