Рет қаралды 8,078
In this video, we'll look at some form-related examples that use Hyperscript and HTMX.
Notably, we'll see how to:
1. Submit a form with HTMX
2. Disable submit button using hyperscript while the HTMX request is in-flight
3. Clear the text from the input field after submission, using hyperscript
4. Use the Fetch API with hyperscript and process JSON data
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
ko-fi.com/bugb...
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: www.bugbytes.i...
👾 Github: github.com/bug...
🐦 Twitter: / bugbytesio
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Hyperscript: hyperscript.org/
Hyperscript docs: hyperscript.or...
HTMX Events: htmx.org/events/
Hyperscript Fetch command: hyperscript.or...
#django #htmx #hyperscript #python