Simple createElement issue in Javascript
<p>I thought the following script will create div element but I got nothing output in my html. Could anyone help me out? Thanks a lot.</p>

<pre><code>var div=document.createElement('div');
div.setAttribute('id','testttttttt');

div.innerHTML='fjsoidfjiosdjfoi';​
</code></pre>
