DEV Community

Discussion on: 7 Javascript Methods That Aid DOM Manipulation

Collapse
 
ygorbunkov profile image
ygorbunkov • Edited

How come there's no place for insertAdjacentHTML() in this article?

Collapse
 
lexlohr profile image
Alex Lohr

Because it is a security problem, very much like .innerHTML, when you use it to add arbitrary HTML.