当前位置: 代码迷 >> HTML/CSS >> html的select显示有关问题
  详细解决方案

html的select显示有关问题

热度:103   发布时间:2012-07-19 16:02:20.0
html的select显示问题
<select id=''>
   <option value="1" <%="1".equals(shzt)?"selected":""%>>同意</option>
   <option value="2" <%="2".equals(shzt)?"selected":""%>>不同意</option>

shzt是从后台传入的值
  相关解决方案