好吧,小白了,今天想了好半天这个,记得是用js
这个可以接受你request传过来的值,也可以是你从数据库中取得值,会自动从下拉框中选中该项。
1 |
document.getElementById("zd_exceptions_type").value='<%=rs.getString("exceptions_type")%>'; |
时间:2013-02-28 21:30:45
Latest posts by Zhiming Zhang (see all)
- ReplicationController and ReplicaSet in Kubernetes - 12月 20, 2021
- public key fingerprint - 5月 27, 2021
- Index brackets must contain either a literal number or a literal string.terraform taint - 5月 20, 2021