https://htmx.org logo
I wanted to do exactly that. But I was somehow con...
# 🔥-django-htmx
b
I wanted to do exactly that. But I was somehow confused on how to use
hx-redirect
as I found out from the comments here. So what I tried: - have a tag with a
hx-get
to get the response image - fail: NOK image swapped in - success: OK image AND a
hx-redirect
swapped in It is probably not that easy. Another thing I saw, but did not try was
hx-location
- but the problem I had was, the swapped in
hx-redirect
does not do anything. So what can I swap in, that triggers the redirect to the download?