hx-pod

Large table pattern using htmx


Listen Later

Mentioned, how to submit and reset a form on success using htmx:

           hx-target="#candidates_add_form"
           hx-swap="beforebegin"
           hx-on::after-request=" if(event.detail.successful) this.reset()"
  >

This assumes the last row is the add form, and places the newly added item directly above it.

...more
View all episodesView all episodes
Download on the App Store

hx-podBy Lazarus

  • 5
  • 5
  • 5
  • 5
  • 5

5

6 ratings


More shows like hx-pod

View all
Odd Lots by Bloomberg

Odd Lots

1,891 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

586 Listeners

Notes On Work - by Caleb Porzio by Caleb Porzio

Notes On Work - by Caleb Porzio

17 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

141 Listeners

The Rest Is History by Goalhanger

The Rest Is History

14,664 Listeners

go podcast() by Dominic St-Pierre

go podcast()

6 Listeners

Talking Businessly by Daniel Coulbourne & John Drexler

Talking Businessly

2 Listeners

Fallthrough by Fallthrough Media

Fallthrough

13 Listeners