AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Cyprus | CY | Delete | |
Czech Republic | CZ | Delete | |
Denmark | DK | Delete | |
Djibouti | DJ | Delete | |
Dominica | DM | Delete | |
Dominican Republic | DO | Delete | |
East Timor | TL | Delete | |
Ecuador | EC | Delete | |
Egypt | EG | Delete | |
El Salvador | SV | Delete | |
Equatorial Guinea | GQ | Delete | |
Eritrea | ER | Delete | |
Estonia | EE | Delete | |
Ethiopia | ET | Delete | |
Falkland Islands | FK | Delete | |
Faroe Islands | FO | Delete | |
Fiji Islands | FJ | Delete | |
Finland | FI | Delete | |
France | FR | Delete | |
French Guiana | GF | 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)