AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
French Polynesia | PF | Delete | |
French Southern Territories | TF | Delete | |
Gabon | GA | Delete | |
Gambia The | GM | Delete | |
Georgia | GE | Delete | |
Ghana | GH | Delete | |
Gibraltar | GI | Delete | |
Greece | GR | Delete | |
Greenland | GL | Delete | |
Grenada | GD | Delete | |
Guadeloupe | GP | Delete | |
Guam | GU | Delete | |
Guatemala | GT | Delete | |
Guernsey and Alderney | GG | Delete | |
Guinea | GN | Delete | |
Guinea-Bissau | GW | Delete | |
Guyana | GY | Delete | |
Haiti | HT | Delete | |
Heard Island and McDonald Islands | HM | Delete | |
Honduras | HN | 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)