New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using htmx.ajax and hx-target #701
Comments
@Benoss -- Your second solution is the better way to go, with one small change. If you're dynamically changing the value of @1cg -- Unless we're changing event handlers that are registered via |
Agree w/ you ben, no reason to aggressively cache the request URL. But I think the crux here is that the htmx.ajax() function needs more functionality. We need to include a I'll add it to the list |
@1cg, are there any plans to implement |
Can we get the select |
I ran into this issue where I needed "select" on the ajax javascript function a couple days ago and wouldn't mind taking a crack at implementing it. Is it still on the list of things that need doing? |
I am triggering htmx.ajax but my response contains a full page and I am trying to swap a part of the response
What I am doing is working but seems really silly is there a cleaner way to do it?
Another solution would be to configure properly the element "#inner-page" using the hx- markup and trigger an event, but I can't find a way to replace the value of hx-get. I used setAttribute but seems to be ignored
Thanks for your help
The text was updated successfully, but these errors were encountered: