I am trying element.parentNode.removeChild()
method. Its working fine in Firefox but not working in IE 9.
Can anyone please tell how to remove an element in IE using javascript?
Thanks...
Use removeChild
function in the parentNode of the element.
If element
is the node that needs to be removed, then do this:
element.parentNode.removeChild(element)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With