zoukankan      html  css  js  c++  java
  • JSP显示-下拉框

    <TABLE class="table-frame" id=p1 cellSpacing=0 cellPadding=0 width="99%" align=center border=0>
                    <TBODY>
                        <TR>
                            <TD class="table-frame-input-title" width="18%" height=22>
                                选择房间类别
                            </TD>
                            <TD class="table-cell-input" height=22>
                                <select name="vo.HOUSETYPE_ID" id="HOUSETYPE_ID" style="18%">
                                    <option value="">--请选择--</option>
                                    <c:forEach var="t" items="${vo.houseTypeList }" varStatus="s">
                                        <option value="${t.HOUSETYPE_ID }">${t.HOUSETYPE_NAME}</option>
                                    </c:forEach>
                                </select>
                                    
                            </TD>
                        </TR>
                        <TR>
                            <TD class="table-frame-input-title" width="18%" height=22>
                                选择楼栋
                            </TD>
                            <TD class="table-cell-input" height=22>
                                <select name="vo.RIDGEPOLE_ID" id="RIDGEPOLE_ID" style="18%">
                                    <option value="">--请选择--</option>
                                    <c:forEach var="t" items="${vo.ridegpoleList }" varStatus="s">
                                        <option value="${t.RIDGEPOLE_ID }">${t.RIDGEPOLE_NAME }</option>
                                    </c:forEach>
                                </select>
                            </TD>
                        </TR>
                        <TR>
                            <TD class="table-frame-input-title" width="18%" height=22>
                                上架房间号
                            </TD>
                            <TD class="table-cell-input" height=22>
                            </TD>
                        </TR>
                    </TBODY>

    就这个表格,怎么根据房间类别和楼栋的不同显示不同的房间号?谢谢各位大大了

    给房间类别和楼栋加上change事件, 在事件里面根据前两个参数来查询房间号绑定数据

  • 相关阅读:
    xxx
    部署在自己的加了分享,试下
    疑问
    去掉分享
    womenzijide_jiafenxiang
    womenzijide2
    womenzijide
    xiugai-去除js注释
    xiugai2
    《设计模式之禅》读书笔记(一)——单例模式
  • 原文地址:https://www.cnblogs.com/yhtboke/p/5716153.html
Copyright © 2011-2022 走看看