js 复选框回显

<div class="control-group">
<label class="control-label">客户状态:</label>
<div class="controls">
<c:forEach items="${fns:getCustomerStatusList()}" var="item">
<input type="checkbox" id="customerStatus" name="customerStatus" value="${item}"
<c:if test="${fn:contains(customerStatusList,item)}">
checked="checked"</c:if>
/>${item}
</c:forEach>
</div>
</div>

posted on 2018-11-10 16:52  零度千里  阅读(1244)  评论(0编辑  收藏  举报

导航