AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Puerto Rico | PR | Delete | |
Qatar | QA | Delete | |
Reunion | RE | Delete | |
Romania | RO | Delete | |
Russia | RU | Delete | |
Rwanda | RW | Delete | |
Saint Helena | SH | Delete | |
Saint Kitts And Nevis | KN | Delete | |
Saint Lucia | LC | Delete | |
Saint Pierre and Miquelon | PM | Delete | |
Saint Vincent And The Grenadines | VC | Delete | |
Saint-Barthelemy | BL | Delete | |
Saint-Martin (French part) | MF | Delete | |
Samoa | WS | Delete | |
San Marino | SM | Delete | |
Sao Tome and Principe | ST | Delete | |
Saudi Arabia | SA | Delete | |
Senegal | SN | Delete | |
Serbia | RS | Delete | |
Seychelles | SC | 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)