07 2016 档案

js点击按钮打开下拉菜单,再次点击关闭的简单办法
摘要:</style> <script> var i=1; function show(id){ if(i%2!=0){ document.getElementById(id).style.display="block";} else{document.getElementById(id).style.d 阅读全文

posted @ 2016-07-29 15:55 看你妹儿 阅读(2911) 评论(0) 推荐(1) 编辑

把数据库中获得的数据放进select下拉菜单中
摘要:<select name="xxx"> <option>这里是select的默认值</option> <c:forEach items="${你List或Set的名字}" value="ss"> <option value="${s.id}">${s.name}</option> </c:forEa 阅读全文

posted @ 2016-07-28 15:58 看你妹儿 阅读(8141) 评论(0) 推荐(1) 编辑

jsp页面点击显示影藏div的一个方法
摘要:先影藏div #dis{display: none;} 给按键设置点击属性 <td><input type="button" class="btn" onclick="document.getElementById('dis').style.display = 'block';" value="添加 阅读全文

posted @ 2016-07-28 10:00 看你妹儿 阅读(1945) 评论(0) 推荐(0) 编辑

把用户权限存入session中,jsp页面通过判定权限的值限制按钮
摘要:<c:if test="${sessionScope.limit=='系统管理员' }"> <a href="addbuser.jsp">添加管理员账号</a></c:if> 阅读全文

posted @ 2016-07-27 15:43 看你妹儿 阅读(3181) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示