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事件, 在事件里面根据前两个参数来查询房间号绑定数据

  • 相关阅读:
    centos 安装netstat
    du 常见的命令
    CentOS7 安装Python3.6.8
    Alpine安装telnet
    TypeError: 'NoneType' object is not callable
    docker中删除dead状态的容器
    监控进程,线程shell脚本
    pyinstaller打包py成exe后音乐文件播放异常pygame.error failed to execute script
    lambda expressions
    Domain logic approaches
  • 原文地址:https://www.cnblogs.com/yhtboke/p/5716153.html
Copyright © 2011-2022 走看看