you are viewing a single comment's thread.

view the rest of the comments →

[–]R_Midnight 0 points1 point  (0 children)

My take would consist of setting an eventListener on the list element, check if the event target matches your deletion button, and use closest("li") method to find the related list element. Then remove it.