java吧 关注:1,290,321贴子:12,818,461
  • 0回复贴,共1

想在部门下面有个嵌套人员名称做个部门下拉

只看楼主收藏回复

<div align="center">
<span style="font-size:18;color:red; cursor:hand; font-weight:800" onClick="showhidediv()" >通知人员选择</span>
<div id="cc" style="display:none">
<table width="100%" border="0" cellpadding="0" cellspacing="1"
bgcolor="b5d6e6" style="cursor:default">
<tr>
<span style="font-size:18;color:red; cursor:hand; font-weight:800" onClick="showhidediv()" >部门选择</span>
<td width="10%" height="30"
background="<c:url value="/resources/images/bg.gif"/>"
bgcolor="#FFFFFF" >
<div align="center" ><span class="STYLE1" >选</span></div>
</td>
<td width="" height="30"
background="<c:url value="/resources/images/bg.gif"/>"
bgcolor="#FFFFFF" >
<div align="center"><span class="STYLE1">部门</span></div>
</tr>
<c:forEach items="${TABLE_DATA}" var="row">
<tr>
<td width="10%" height="30" bgcolor="#FFFFFF" align="center">
<input type="checkbox" name="name" value="${row.id}" />
</td>
<td width="" height="30" bgcolor="#FFFFFF" align="center" ><SPAN
class="STYLE4">${row.name}</SPAN>
</td>
</tr>
<tr>
<td width="10%" height="20" bgcolor="#FFFFFF" align="center" >
<input type="checkbox" name="name" value="${row.id}" />
</td>
</tr>
</c:forEach>
怎样在另一处调用人员数据,在js实现下拉,真心不会做了,思维混乱


1楼2014-06-20 09:52回复