| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <title>Body Swap Test</title> |
| 6 | <script type="application/javascript" src="../../../src/htmx.js"></script> |
| 7 | </head> |
| 8 | <body style="padding: 20px; font-family: sans-serif;border: 6px solid red"> |
| 9 | <button hx-get="body.html" |
| 10 | hx-target="body" |
| 11 | hx-swap="outerHTML"> |
| 12 | Swap Body With outerHTML |
| 13 | </button> |
| 14 | </body> |
| 15 | </html> |