AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Brunei | BN | Delete | |
Bhutan | BT | Delete | |
Bouvet Island | BV | Delete | |
Botswana | BW | Delete | |
Central African Republic | CF | Delete | |
Canada | CA | Delete | |
Cocos (Keeling) Islands | CC | Delete | |
Chile | CL | Delete | |
China | CN | Delete | |
Cote D'Ivoire (Ivory Coast) | CI | Delete | |
Cameroon | CM | Delete | |
Congo The Democratic Republic Of The | CD | Delete | |
Congo | CG | Delete | |
Cook Islands | CK | Delete | |
Colombia | CO | Delete | |
Comoros | KM | Delete | |
Cape Verde | CV | Delete | |
Costa Rica | CR | Delete | |
Cuba | CU | Delete | |
Christmas Island | CX | 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)