AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Tanzania | TZ | Delete | |
Uganda | UG | Delete | |
United States Minor Outlying Islands | UM | Delete | |
Uruguay | UY | Delete | |
Uzbekistan | UZ | Delete | |
Vatican City State (Holy See) | VA | Delete | |
Venezuela | VE | Delete | |
Virgin Islands (British) | VG | Delete | |
Virgin Islands (US) | VI | Delete | |
Vietnam | VN | Delete | |
Vanuatu | VU | Delete | |
Wallis And Futuna Islands | WF | Delete | |
Samoa | WS | Delete | |
Yemen | YE | Delete | |
South Africa | ZA | Delete | |
Zambia | ZM | Delete | |
Zimbabwe | ZW | Delete | |
East Timor | TL | Delete | |
Kosovo | XK | Delete | |
Romania | RO | 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)