I\'m using jquery to add and remove bullets on the fly after the DOM is loaded.
Here\'s the code to add a bullet which works fine:
// add bullet
$(\'
I used a combination of the answers provided.
I removed the onclick in the li, and instead referenced the class being clicked and combined that with 'this' as per below.
$('#linkedEventList').on('click', '.itemDelete', function(){
$(this).parent().remove();
});
Here's the jsfiddle that works in both FireFox and Chrome: http://jsfiddle.net/jjgelinas77/CsAJn/27/