AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Germany | DE | Delete | |
Austria | AT | Delete | |
Switzerland | CH | Delete | |
Afghanistan | AF | Delete | |
Aland Islands | AX | Delete | |
Albania | AL | Delete | |
Algeria | DZ | Delete | |
American Samoa | AS | Delete | |
Andorra | AD | Delete | |
Angola | AO | Delete | |
Anguilla | AI | Delete | |
Antarctica | AQ | Delete | |
Antigua And Barbuda | AG | Delete | |
Argentina | AR | Delete | |
Armenia | AM | Delete | |
Aruba | AW | Delete | |
Australia | AU | Delete | |
Azerbaijan | AZ | Delete | |
Bahamas The | BS | Delete | |
Bahrain | BH | 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)