How to “enable” HTML5 elements in IE 8 that were inserted by AJAX call?

AjaxWeb DevelopmentFront End ScriptsJavascript

To enable HTML5 elements in IE, you need to use plugins like html5shiv. The HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9,

With that, you can also use document.createElement to create an element.

var demo = document.createElement("demo");

demo.innerHTML = "Working!";
Updated on 27-Jan-2020 07:26:37