AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Ukraine | UA | Delete | |
Bulgaria | BG | Delete | |
Estonia | EE | Delete | |
Slovenia | SI | Delete | |
Slovakia | SK | Delete | |
Czech Republic | CZ | Delete | |
Bhutan | BT | Delete | |
Russia | RU | Delete | |
Turkey | TR | Delete | |
Hungary | HU | Delete | |
Norway | NO | Delete | |
Sweden | SE | Delete | |
Ireland | IE | Delete | |
Italy | IT | Delete | |
Finland | FI | Delete | |
Poland | PL | Delete | |
Lithuania | LT | Delete | |
Latvia | LV | Delete | |
Liechtenstein | LI | Delete | |
United States | US | 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)