AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Burkina Faso | BF | Delete | |
Bulgaria | BG | Delete | |
Bahrain | BH | Delete | |
Burundi | BI | Delete | |
Benin | BJ | Delete | |
Saint-Barthelemy | BL | Delete | |
Bermuda | BM | Delete | |
Brunei | BN | Delete | |
Bolivia | BO | Delete | |
Bonaire, Sint Eustatius and Saba | BQ | Delete | |
Brazil | BR | Delete | |
Bahamas The | BS | Delete | |
Bhutan | BT | Delete | |
Bouvet Island | BV | Delete | |
Botswana | BW | Delete | |
Belarus | BY | Delete | |
Belize | BZ | Delete | |
Canada | CA | Delete | |
Cocos (Keeling) Islands | CC | Delete | |
Congo The Democratic Republic Of The | CD | 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)