AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Norfolk Insel | NF | Delete | |
Norwegen | NO | Delete | |
Oman | OM | Delete | |
Pakistan | PK | Delete | |
Palästinische Gebiete | PS | Delete | |
Palau | PW | Delete | |
Panama | PA | Delete | |
Papua-Neuguinea | PG | Delete | |
Paraguay | PY | Delete | |
Peru | PE | Delete | |
Philippinen | PH | Delete | |
Pitcairn | PN | Delete | |
Polen | PL | Delete | |
Portugal | PT | Delete | |
Puerto Rico | PR | Delete | |
Republik Dschibuti | DJ | Delete | |
Réunion | RE | Delete | |
Ruanda | RW | Delete | |
Rumaenien | RO | Delete | |
Russland | RU | 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)