AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Liberia | LR | Delete | |
Libysch-Arabische Dschamahirija | LY | Delete | |
Liechtenstein | LI | Delete | |
Litauen | LT | Delete | |
Luxemburg | LU | Delete | |
Macao | MO | Delete | |
Madagaskar | MG | Delete | |
Malawi | MW | Delete | |
Malaysia | MY | Delete | |
Malediven | MV | Delete | |
Mali | ML | Delete | |
Malta | MT | Delete | |
Marokko | MA | Delete | |
Marshallinseln | MH | Delete | |
Martinique | MQ | Delete | |
Mauretanien | MR | Delete | |
Mauritius | MU | Delete | |
Mayotte | YT | Delete | |
Mazedonien, Ehemalige Jugoslawische Republik | MK | Delete | |
Mexiko | MX | 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)