My second function is not removing the parent element
243
Event binding on dynamically created elements?
33682
how do I compare 2 functions in javascript
59589
How do I hide a parent div if the child div doesn't contain an  tag?
5804
Is it possible to append to innerHTML without destroying descendants' event listeners?
53192
nested li - on clicking child, parent click event triggered
58591
Javascript/DOM: How to remove all events of a DOM object?
46451
Click event doesn't work on dynamically generated elements
131292
Controls in container form come over child form?
36123
Why does removing a function and defining it on the same line not work?
153081
How to access a prototype's parent this from within a method's function
141143
javascript get parent nested object?
120300
HTML element does not fade in using jquery
87864
Two divs is going through eachother when resizing
42855
Controlling the value of 'this' in a jQuery event
2701
Assigning to variable from parent function: "Local variable referenced before assignment"
150343
Uncaught TypeError: Cannot read property 'parentNode' of undefined
46632
JavaScript DOM remove element