Here is the code snippet I am currently using:
container = document.getElementById("menuContainer");
Following this, I have the following lines of code:
container.document.open("text/html");
container.document.writeln(content);
container.document.close();
This code works flawlessly in IE8, but when I try it on IE11, I receive a warning message:
https://i.sstatic.net/K1WeC.png
What steps should I take to resolve this issue?