AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Saint Helena | SH | Delete | |
Saint Pierre Und Miquelon | PM | Delete | |
Salomonen | SB | Delete | |
Sambia | ZM | Delete | |
Samoa | WS | Delete | |
San Marino | SM | Delete | |
São Tomé Und Príncipe | ST | Delete | |
Saudi-Arabien | SA | Delete | |
Schweden | SE | Delete | |
Senegal | SN | Delete | |
Serbien | RS | Delete | |
Seychellen | SC | Delete | |
Sierra Leone | SL | Delete | |
Simbabwe | ZW | Delete | |
Singapur | SG | Delete | |
Slowakei | SK | Delete | |
Slowenien | SI | Delete | |
Somalia | SO | Delete | |
SONSTIGE | Delete | ||
Spanien | ES | 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)