AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
East Timor | TL | Delete | |
Turkmenistan | TM | Delete | |
Tunisia | TN | Delete | |
Tonga | TO | Delete | |
Turkey | TR | Delete | |
Trinidad And Tobago | TT | Delete | |
Tuvalu | TV | Delete | |
Taiwan | TW | Delete | |
Tanzania | TZ | Delete | |
Ukraine | UA | Delete | |
Uganda | UG | Delete | |
United States Minor Outlying Islands | UM | Delete | |
United States | US | Delete | |
Uruguay | UY | Delete | |
Uzbekistan | UZ | Delete | |
Vatican City State (Holy See) | VA | Delete | |
Saint Vincent And The Grenadines | VC | Delete | |
Venezuela | VE | Delete | |
Virgin Islands (British) | VG | Delete | |
Virgin Islands (US) | VI | 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)