htmx icon indicating copy to clipboard operation
htmx copied to clipboard

</> htmx - high power tools for HTML

Results 939 htmx issues
Sort by recently updated
recently updated
newest added

Hi, `hx-target="previous"` works like `Element.previousElementSibling()`. If the element is its parent’s sole child, no target will be found. However, `hx-target="previous "` will apparently find anything on any hierarchy level, as...

https://github.com/bigskysoftware/htmx/blob/81a6e25fb9cddc2846f27f494ab816fa32fc64c0/src/htmx.js#L239 Noticed that the default value for `selfRequestsOnly` is defined as `true`, yet the `@default` comment directly above it says that the default value is supposed to be false. I...

I'm using htmx v2.0.6, and `htmx:abort` doesn't seem to be working on elements inside the Shadow DOM. This is the case both with directly using `htmx.trigger(element, 'htmx:abort')` and with using...

bug

I'm using htmx through the sprig implementation for Craft CMS. I love it. I'm using javascript to dynamically inject some ` { htmx.process($htmxComponent); }); } }); ``` So my initial...

I'm trying to trigger the same named event on multiple targets from an `HX-Trigger` response header. I'm sending back something like the following: `HX-Trigger: {"refresh": {"target": "#target-1,#target-2"}}` I've also tried...

When I swap an HTMX fragment, I sometimes want to run JavaScript in that fragment immediately and only there. This is great for keeping the JavaScript local to the fragment...

I'm trying to convert several thousands Django templates to use HTMX and Django-Cotton, refactoring templates so that it reuses Django-cotton components dynamically loaded via HTMX. Does anyone have an AGENTS.md...

Can you compile docs for LLM assistants to read. https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=vscode&search-overlay-input=---+applyTo%3A+%22app%2Fmodels%2F**%2F*.rb%22+---

I am exploring htmx a bit and am liking what I see. One thing that I had hoped would work but did not was accessing content in the same page....

I am using the following code combining thymeleaf and HTMX I wrote a code to receive a serial number from an input form, and when the focus is removed from...