Currently I am using the toggle() to change the split button icon to 'X' data-split-icon ="delete", but after I change the icon, I want to add an event handler to actually delete the list item. I tried this example for stackexchange but I am not sure what I am doing wrong.
Since I can't find a lot of help on this topic, is there a better way/best practice UI pattern to delete items from a list?
Here is my code so far: http://jsfiddle.net/N7Z9e/1006/