AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Saudi Arabia | SA | Delete | |
Sudan | SD | Delete | |
Senegal | SN | Delete | |
Singapore | SG | Delete | |
South Georgia | GS | Delete | |
Saint Helena | SH | Delete | |
Svalbard And Jan Mayen Islands | SJ | Delete | |
Solomon Islands | SB | Delete | |
Sierra Leone | SL | Delete | |
El Salvador | SV | Delete | |
San Marino | SM | Delete | |
Syria | SY | Delete | |
Turkmenistan | TM | Delete | |
Tokelau | TK | Delete | |
Tajikistan | TJ | Delete | |
Thailand | TH | Delete | |
Togo | TG | Delete | |
Chad | TD | Delete | |
Turks And Caicos Islands | TC | Delete | |
Serbia | RS | 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)