insert html using javascript
<p>i am trying to insert a chuck of html into a div. i want to see if plain javascript way is faster than using jquery. unfortunately, i forgot how to do it the 'old' way :P</p>

<pre><code>var test2 = function(){
    var cb = function(html){
        var t1 = document.getElementById("test2");
        var d = document.createElement("div");
        d.id ="oiio"
        d.innerHtml = html;
        t1.appendChild(d);
        console.timeEnd("load data with javascript")
    }
    console.time("load data with javascript");
    $.get("test1.html", cb);
}
</code></pre>

<p>what am i doing wrong here guys? also, there is a live test of this here:
<a href="http://programmingdrunk.com/playground/" rel="nofollow">http://programmingdrunk.com/playground/</a></p>
