Concatenation inside a parameter
<p>I'm trying to concatenate my increment variable inside the getElementById parameter.  I can concatenate using createElement using the increment value, however when I try to concatenate the variable inside getElementbyId, its a no go.</p>

<pre><code>var newdiv = document.createElement("form");
            newdiv.setAttribute('id', 'form' + t);//t == increment
            newdiv.innerHTML = "&lt;br/&gt;" + t + Menu();
            $("newline").appendChild(newdiv);

alert(

document.getElementById("form" + t).innerHTML  //does not work
document.getElementById("form0").innerHTML   //needs to "look" like

)
</code></pre>
