Tuesday, 21 August 2012

Fixing innerHTML IE9


        var newdiv = document.createElement("div");
        newdiv.innerHTML = "This is for test" ;
        var container = document.getElementById("container");
        container.appendChild(newdiv);


No comments:

Post a Comment