AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Kyrgyzstan | KG | Delete | |
Laos | LA | Delete | |
Latvia | LV | Delete | |
Lebanon | LB | Delete | |
Lesotho | LS | Delete | |
Liberia | LR | Delete | |
Libya | LY | Delete | |
Liechtenstein | LI | Delete | |
Lithuania | LT | Delete | |
Luxembourg | LU | Delete | |
Macau S.A.R. | MO | Delete | |
Macedonia | MK | Delete | |
Madagascar | MG | Delete | |
Malawi | MW | Delete | |
Malaysia | MY | Delete | |
Maldives | MV | Delete | |
Mali | ML | Delete | |
Malta | MT | Delete | |
Man (Isle of) | IM | Delete | |
Marshall Islands | MH | 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)