Unexpected ; in my javascript I dont understand why
<p>I added this bit of code and now I am getting an unexpected token";" error.</p>

<p>Code:</p>

<pre><code>var i = 0;
var tabs = "";    
while(i &lt; idArray.length){
tabs = tabs + "&lt;a href='#' onclick='tabs('"+ idArray[i] +"')'&gt;"+ idArray[i] +"&lt;/a&gt; &amp;nbsp; &amp;nbsp;";
alert(tabs);
i++;
}
$("#editme").html(tabs);
</code></pre>

<p>I don't understand why.</p>

<p>Any ideas??</p>

<p>Thanks.</p>
