AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Burundi | BI | Delete | |
Chile | CL | Delete | |
China | CN | Delete | |
Cookinseln | CK | Delete | |
Costa Rica | CR | Delete | |
Côte D´Ivoire | CI | Delete | |
Dänemark | DK | Delete | |
Dominica | DM | Delete | |
Dominikanische Republik | DO | Delete | |
Ecuador | EC | Delete | |
El Salvador | SV | Delete | |
Eritrea | ER | Delete | |
Estland | EE | Delete | |
Falklandinseln | FK | Delete | |
Färöer | FO | Delete | |
Fidschi | FJ | Delete | |
Finnland | FI | Delete | |
Frankreich | FR | Delete | |
Französisch Guiana | GF | Delete | |
Französisch Polynesien | PF | 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)