AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Sri Lanka | LK | Delete | |
Südafrika | ZA | Delete | |
Sudan | SD | Delete | |
Südgeorgien Und Die Südlichen Sandwichinseln | GS | Delete | |
Suriname | SR | Delete | |
Svalbard Und Jan Mayen | SJ | Delete | |
Swasiland | SZ | Delete | |
Syrien, Arab | SY | Delete | |
Tadschikistan | TJ | Delete | |
Taiwan | TW | Delete | |
Tansania, Vereinigte Rep | TZ | Delete | |
Thailand | TH | Delete | |
Togo | TG | Delete | |
Tokelau | TK | Delete | |
Tonga | TO | Delete | |
Trinidad Und Tobago | TT | Delete | |
Tschad | TD | Delete | |
Tschechien | CZ | Delete | |
Tunesien | TN | Delete | |
Türkei | TR | 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)