mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
fix type
This commit is contained in:
parent
a34d6bcf0b
commit
fdaeaa47e3
@ -25,7 +25,7 @@ IE11 compatible & you can try it out quickly, without a huge rewrite
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- Load from unpkg -->
|
<!-- Load from unpkg -->
|
||||||
<script src="https://unpkg.com/htmx.org@e0.0.4"></script>
|
<script src="https://unpkg.com/htmx.org@0.0.4"></script>
|
||||||
<!-- have a button POST a click via AJAX -->
|
<!-- have a button POST a click via AJAX -->
|
||||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||||
Click Me
|
Click Me
|
||||||
|
Loading…
x
Reference in New Issue
Block a user