这是自增行的java代码,红色部分有问题,帮忙看看
function getWorkCellHTML(index, rowCount){
var retstr = "";
switch(index)
{
case 0:
retstr = "<td><input type=\"text\" name=\"name_" + rowCount + "\" class=\"inputText\" style=\"width: 80px\"></td>";
break;
case 1:
retstr = "<td><input type=\"text\" name=\"type_" + rowCount + "\" class=\"inputText\" style=\"width: 100px\"></td>";
break;
case 2:
retstr = "<td><input type=\"text\" name=\"count_" + rowCount + "\" class=\"inputText\" style=\"width: 30px\"></td>";
break;
case 3:
retstr = "<td><asp:DropDownList runat=\"server\" Width=\"40px\" ID=\"unit_" + rowCount + "\" class=\"inputText\" ></asp:DropDownList></td>";
break;
case 4:
retstr = "<td><img src=\"../../image/delete02.gif\" style=\"cursor:hand\" onClick=\"delFile();\" ></td>";
break;
}
return retstr;
} --------------------编程问答-------------------- JAVA代码??? --------------------编程问答-------------------- 其他语句都是可以的。语言应该是javascript
补充:.NET技术 , ASP.NET