mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-04 08:15:35 +00:00
doc: fix typo in hx-select-oob attribute example (#994)
Correct "info-detail" to "info-details" in the explanation to the hx-select-oob example.
This commit is contained in:
parent
3c6b5996a1
commit
29c12fe0cb
@ -23,7 +23,7 @@ Here is an example that selects a subset of the response content:
|
|||||||
</div>
|
</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
This button will issue a `GET` to `/info` and then select the element with the id `info-detail`,
|
This button will issue a `GET` to `/info` and then select the element with the id `info-details`,
|
||||||
which will replace the entire button in the DOM, and, in addition, pick out an element with the id `alert`
|
which will replace the entire button in the DOM, and, in addition, pick out an element with the id `alert`
|
||||||
in the response and swap it in for div in the DOM with the same ID.
|
in the response and swap it in for div in the DOM with the same ID.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user