AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Kap Verde | CV | Delete | |
Kasachstan | KZ | Delete | |
Katar | QA | Delete | |
Kenia | KE | Delete | |
Kirgisistan | KG | Delete | |
Kiribati | KI | Delete | |
Kokosinseln | CC | Delete | |
Kolumbien | CO | Delete | |
Komoren | KM | Delete | |
Kongo | CG | Delete | |
Kongo, Dem | CD | Delete | |
Korea, Dem | KP | Delete | |
Korea, Rep | KR | Delete | |
Kroatien | HR | Delete | |
Kuba | CU | Delete | |
Kuwait | KW | Delete | |
Laos, Dem | LA | Delete | |
Lesotho | LS | Delete | |
Lettland | LV | Delete | |
Libanon | LB | 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)