AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Mikronesien, Föderierte Staaten Von | FM | Delete | |
Moldau, Rep | MD | Delete | |
Monaco | MC | Delete | |
Mongolei | MN | Delete | |
Montenegro | ME | Delete | |
Montserrat | MS | Delete | |
Mosambik | MZ | Delete | |
Myanmar | MM | Delete | |
Namibia | NA | Delete | |
Nauru | NR | Delete | |
Nepal | NP | Delete | |
Neukaledonien | NC | Delete | |
Neuseeland | NZ | Delete | |
Nicaragua | NI | Delete | |
Niederlande | NL | Delete | |
Niederländische Antillen | AN | Delete | |
Niger | NE | Delete | |
Nigeria | NG | Delete | |
Niue | NU | Delete | |
Nördliche Marianen | MP | 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)