Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
方法を試していelement.parentNode.removeChild()ます。Firefox では正常に動作しますが、IE 9 では動作しません。
element.parentNode.removeChild()
javascriptを使用してIEの要素を削除する方法を教えてください。
ありがとう...
removeChild要素のparentNodeで関数を使用します。
removeChild
elementが削除する必要があるノードである場合は、次のようにします。
element
element.parentNode.removeChild(element)