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 $(\'
Don't you mean
$(this).parent().remove();
Also, you might want to consider
$(this).closest('li').remove();
That will go up the DOMtree until it finds a li, if you ever wrap your anchor in another element, the last example wont brake :)