htmx
htmx copied to clipboard
</> htmx - high power tools for HTML
Unlike `hx-trigger`, `hx-on` does not support event names that contain dots. ```html ``` Instead htmx throws a SyntaxError: ``` Uncaught SyntaxError: Unexpected token ':' ```
At the moment htmx does not consider changes to the `href`, `action` and `method` attributes for boosted elements at runtime, nor does it consider changes to the hx-verb attributes (`hx-get`,...
Usage of `||=` can cause errors on some older browsers and/or specific configurations. In particular, I'm getting this when bundling htmx with webpack after upgrading from 1.8.6 to 1.9.0: ```...
By default, HTMX doesn't seem to add any `Accept` header to the calls it issues to the server. This causes the servers to receive an `Accept: */*` and doesn't give...
Hi, I have a set up with regular links like and I'd like to enhace them with a modal conatining #main element of the URL I'm hx-get-ting. (Looking at the...
``` Update time ``` this is taken from examples and modified for testing purposes, `update.php` returns the current date time string the behavior is that the button is substituted by...
A great thing about HTMX is its ability to reduce network round trips and thereby improve performance [1] [2]. However, the ['Click to Edit'](https://htmx.org/examples/click-to-edit/) example still suffers from unnecessary network...
I have the case below where my original.html contains the button that will be replaced when clicked, with a new button coming from the file to_replace.html However in my case...
**The problem:** When user perform scroll to end of page, I fetch more data from URL `/products/?infinite=True`, then `hx-push-url=/products/?page={{current_page}}`. But after user click to see an item detail, then navigate...
With apologies for a rather high-level/vague issue (compared to more specific listings / PRs with proposed fixes), but: having skimmed a few of the examples provided on https://htmx.org/examples/ I'd note...