diff options
author | William Jackson <565174+williamjacksn@users.noreply.github.com> | 2025-02-07 18:07:13 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-07 17:07:13 -0700 |
commit | 46badfe0b1412561202186c2b2cd05053d71ea32 (patch) | |
tree | f5fb3863eaa94d89c5f60be2361e30a3f5f06e28 /www/content/attributes/hx-include.md | |
parent | 6dbf554e49d3988c53740f29a76787adddd9a8f6 (diff) | |
download | htmx-46badfe0b1412561202186c2b2cd05053d71ea32.tar.gz htmx-46badfe0b1412561202186c2b2cd05053d71ea32.zip |
Add descriptions for attribute pages (#3158)
Descriptions for attribute pages
Diffstat (limited to 'www/content/attributes/hx-include.md')
-rw-r--r-- | www/content/attributes/hx-include.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/content/attributes/hx-include.md b/www/content/attributes/hx-include.md index 5001b8ea..360a740e 100644 --- a/www/content/attributes/hx-include.md +++ b/www/content/attributes/hx-include.md @@ -1,5 +1,6 @@ +++ title = "hx-include" +description = "The hx-include attribute in htmx allows you to include additional element values in an AJAX request." +++ The `hx-include` attribute allows you to include additional element values in an AJAX request. The value of this @@ -14,7 +15,7 @@ attribute can be: * `next <CSS selector>` which will scan the DOM forward for the first element that matches the given CSS selector. (e.g. `next .error` will target the closest following sibling element with `error` class) * `previous <CSS selector>` which will scan the DOM backwards for the first element that matches the given CSS selector. - (e.g `previous .error` will target the closest previous sibling with `error` class) + (e.g. `previous .error` will target the closest previous sibling with `error` class) Here is an example that includes a separate input value: |