AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Australien | AU | Delete | |
Bahamas | BS | Delete | |
Bahrain | BH | Delete | |
Bangladesch | BD | Delete | |
Barbados | BB | Delete | |
Belgien | BE | Delete | |
Belize | BZ | Delete | |
Benin | BJ | Delete | |
Bermuda | BM | Delete | |
Bhutan | BT | Delete | |
Bolivien | BO | Delete | |
Bosnien Und Herzegowin | BA | Delete | |
Botsuana | BW | Delete | |
Bouvetinsel | BV | Delete | |
Brasilien | BR | Delete | |
Britische Jungferninseln | VG | Delete | |
Britische Territorien Im Indischen Ozean | IO | Delete | |
Brunei Darussalam | BN | Delete | |
Bulgarien | BG | Delete | |
Burkina Faso | BF | 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)