AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
New Zealand | NZ | Delete | |
Nicaragua | NI | Delete | |
Niger | NE | Delete | |
Nigeria | NG | Delete | |
Niue | NU | Delete | |
Norfolk Island | NF | Delete | |
Northern Mariana Islands | MP | Delete | |
Norway | NO | Delete | |
Oman | OM | Delete | |
Pakistan | PK | Delete | |
Palau | PW | Delete | |
Palestinian Territory Occupied | PS | Delete | |
Panama | PA | Delete | |
Papua new Guinea | PG | Delete | |
Paraguay | PY | Delete | |
Peru | PE | Delete | |
Philippines | PH | Delete | |
Pitcairn Island | PN | Delete | |
Poland | PL | Delete | |
Portugal | PT | 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)