AJAX Buttons: Deleting in tables
Click on the Delete button and see the row disappear if successful.
Name | Iso2 | Actions | |
---|---|---|---|
Tanzania | TZ | Delete | |
Thailand | TH | Delete | |
Togo | TG | Delete | |
Tokelau | TK | Delete | |
Tonga | TO | Delete | |
Trinidad And Tobago | TT | Delete | |
Tunisia | TN | Delete | |
Turkey | TR | Delete | |
Turkmenistan | TM | Delete | |
Turks And Caicos Islands | TC | Delete | |
Tuvalu | TV | Delete | |
Uganda | UG | Delete | |
Ukraine | UA | Delete | |
United Arab Emirates | AE | Delete | |
United Kingdom | GB | Delete | |
United States | US | Delete | |
United States Minor Outlying Islands | UM | Delete | |
Uruguay | UY | Delete | |
Uzbekistan | UZ | Delete | |
Vanuatu | VU | 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)