AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Marshall Islands | MH | Delete | |
Martinique | MQ | Delete | |
Mauritania | MR | Delete | |
Mauritius | MU | Delete | |
Mayotte | YT | Delete | |
Mexico | MX | Delete | |
Micronesia | FM | Delete | |
Moldova | MD | Delete | |
Monaco | MC | Delete | |
Mongolia | MN | Delete | |
Montenegro | ME | Delete | |
Montserrat | MS | Delete | |
Morocco | MA | Delete | |
Mozambique | MZ | Delete | |
Myanmar | MM | Delete | |
Namibia | NA | Delete | |
Nauru | NR | Delete | |
Nepal | NP | Delete | |
Netherlands The | NL | Delete | |
New Caledonia | NC | 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)