AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Gibraltar | GI | Delete | |
Guinea | GN | Delete | |
Guadeloupe | GP | Delete | |
Gambia The | GM | Delete | |
Guinea-Bissau | GW | Delete | |
Equatorial Guinea | GQ | Delete | |
Greece | GR | Delete | |
Grenada | GD | Delete | |
Greenland | GL | Delete | |
Guatemala | GT | Delete | |
French Guiana | GF | Delete | |
Guam | GU | Delete | |
Guyana | GY | Delete | |
Hong Kong S.A.R. | HK | Delete | |
Heard Island and McDonald Islands | HM | Delete | |
Honduras | HN | Delete | |
Croatia (Hrvatska) | HR | Delete | |
Haiti | HT | Delete | |
Indonesia | ID | Delete | |
Man (Isle of) | IM | 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)