zoukankan      html  css  js  c++  java
  • select默认选择后台转过来的option选项

                                                            <select>

                                                                   <option value="#" >--请选择--</option>

                                                                   <option value="1" <c:if test="${quarter=='1'}">selected='selected'</c:if>>第一季度</option>

                                                                   <option value="2" <c:if test="${quarter=='2'}">selected='selected'</c:if>>第二季度</option>

                                                                   <option value="3" <c:if test="${quarter=='3'}">selected='selected'</c:if>>第三季度</option>

                                                                   <option value="4" <c:if test="${quarter=='4'}">selected='selected'</c:if>>第四季度</option>

                                                            </select>

  • 相关阅读:
    清单
    1
    s
    模块系统的演进
    改radio样式
    前端css库
    疑惑
    收藏
    事件
    社保档案
  • 原文地址:https://www.cnblogs.com/rdchen/p/8033992.html
Copyright © 2011-2022 走看看