AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
![]() |
Turkmenistan | TM | Delete |
![]() |
Turks- Und Caicosinseln | TC | Delete |
![]() |
Tuvalu | TV | Delete |
![]() |
Uganda | UG | Delete |
![]() |
Ukraine | UA | Delete |
![]() |
Ungarn | HU | Delete |
![]() |
United States Minor Outlying Islands | UM | Delete |
![]() |
Uruguay | UY | Delete |
![]() |
USA | US | Delete |
![]() |
Usbekistan | UZ | Delete |
![]() |
Vanuatu | VU | Delete |
![]() |
Venezuela | VE | Delete |
![]() |
Vereinigte Arabische Emirate | AE | Delete |
![]() |
Vietnam | VN | Delete |
![]() |
Wallis Und Futuna | WF | Delete |
![]() |
Weihnachtsinsel | CX | Delete |
![]() |
Weißrussland | BY | Delete |
![]() |
Westsahara | EH | Delete |
![]() |
Zentralafrikanische Republik | CF | Delete |
![]() |
Zypern | CY | Delete |
All this needs is basically
- A "post link" with e.g. a
ajax-delete
class added to signal this should be ajax-deletable. - A small JS snippet (see source code)