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