帮忙看看这段代码
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
var v=1;
function insertTable(insertNum){
for(j=0;j<insertNum;j++){
tr=document.all.mytable.insertRow();
v=v+1;
option1= "<select name=property>" +
<%//起始
Enumeration propertyitems1 = properhash.keys();//前面已定义有值
while(propertyitems1.hasMoreElements()) {
propertyid = (Integer)propertyitems1.nextElement();
propertyname = (String)properhash.get(propertyid);
%>//结束
"<option value=<%=1%>><%=test%></option>"
<%}%>
+ "</select>";
td1=document.all.mytable.rows[tr.rowIndex].insertCell();
td1.innerHTML="<center><font size=2 >" + option1 + "</font></center>";
</SCRIPT>
------------------------------------
注释的那段总报有错误。。。很郁闷。。。。难道不能这样用吗???
帮忙看看。。。。谢谢