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 $(\'
You could do it using the index of the clicked
$('li').on('click', function() { $(this).parent().children('li:eq(' + $(this).index() + ')').remove(); });
Edit: this works as well:
$('li').on('click', function() { $(this).remove(); });
See fiddle.