AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Germany | DE | Delete | |
Austria | AT | Delete | |
Switzerland | CH | Delete | |
Belgium | BE | Delete | |
Netherlands The | NL | Delete | |
Denmark | DK | Delete | |
Luxembourg | LU | Delete | |
France | FR | Delete | |
United Kingdom | GB | Delete | |
Ukraine | UA | Delete | |
Bulgaria | BG | Delete | |
Estonia | EE | Delete | |
Slovenia | SI | Delete | |
Slovakia | SK | Delete | |
Czech Republic | CZ | Delete | |
Portugal | PT | Delete | |
Russia | RU | Delete | |
Turkey | TR | Delete | |
Hungary | HU | Delete | |
Norway | NO | 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)