htmx icon indicating copy to clipboard operation
htmx copied to clipboard

</> htmx - high power tools for HTML

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

When a user is no longer logged on and htmx does a request, the server will typically respond with a redirect to the login page. However, this will break usually...

This form work as expected ``` Cerca ``` this one, make a full page reload ``` Cerca ``` the only difference is the hx-trigger

Have a repro at https://github.com/gone/oobtest/commit/8e6c2f31bb90f2b21dcc4759eb8f8eff764621cd the html ```message``` once swapped in only results in `message` with the li removed

hi, I think I found a bug in https://github.com/bigskysoftware/htmx/blob/33332b1cec59307e4924fcc1707f05bf99482078/src/htmx.js#L506 On browsers without `Element.closest()` it doesn't return null, so this line evaluates as false positive condition leading to improper behavior https://github.com/bigskysoftware/htmx/blob/33332b1cec59307e4924fcc1707f05bf99482078/src/htmx.js#L1257...

Many thank for implementing `HX-Reswap` (#933 and #949). However, could you also add `HX-Reselect` to modify the original `hx-select`? I have in my oroginal html ``` hx-post='/url' hx-swap='innherHTML' hx-target='some-div' hx-select='.some-content'...

Lines 230 - 233 of ws.js: ` if(api.shouldCancel(evt, child)){` ` evt.preventDefault();` ` }` This is in the "processWebSocketSend" function in ws.js, called from htmx.js:1354. Lines 1353 - 1355 of htmx.js:...

When hx-get swap for an xml page (inkscape svg for exemple) with namespaces on elements, htmx failed. This trick avoid the error raised.

I was having an issue with an HTMX event not being triggered, even while everything seemed to be in order: - the event listener was defined and attached properly -...

The [documentation](https://htmx.org/examples/modal-bootstrap/) for loading and showing a bootstrap modal dialog with its animation doesn't seem to work with bootstrap 5. The request gets made and the content is injected exactly...

In my textarea, I have this: ``` hx-trigger="keydown[ctrlKey && keyCode==13]" ``` This works to trigger on CTRL-Enter. However, it doesn't prevent the default behavior of adding a carriage return. Can...