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,940 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

584 Listeners

Django Chat by William Vincent and Carlton Gibson

Django Chat

75 Listeners

Notes On Work - by Caleb Porzio by Caleb Porzio

Notes On Work - by Caleb Porzio

18 Listeners

The Rest Is History by Goalhanger

The Rest Is History

15,502 Listeners

Mostly Technical by Ian Landsman and Aaron Francis

Mostly Technical

26 Listeners

Talking Businessly by Daniel Coulbourne & John Drexler

Talking Businessly

2 Listeners

Datastar – The hypermedia framework. by Datastar

Datastar – The hypermedia framework.

0 Listeners