<logic:notEmpty name="message" scope="request">
<div style="width: 100%;height: 100%;z-index: 1;position: absolute;top: 0px;left: 0px;filter:alpha(opacity=50);background:#ffffff;" id="message" align="center">
<table align="center" style="margin-top: 15%;width: 30%;">
<tr>
<td align="center">
<span style="color:black;">${requestScope.message}</span><br>
<button onclick="close();" style="width: 100px;">确定</button>
</td>
</tr>
</table>
</div>
</logic:notEmpty>其中div里的按钮方法是function close(){
document.getElementById("message").style.display = "none";}
用的是ssh框架,为什么隐藏不了?可以显示出来,但是隐藏不了,高手帮忙看看,谢谢
<div style="width: 100%;height: 100%;z-index: 1;position: absolute;top: 0px;left: 0px;filter:alpha(opacity=50);background:#ffffff;" id="message" align="center">
<table align="center" style="margin-top: 15%;width: 30%;">
<tr>
<td align="center">
<span style="color:black;">${requestScope.message}</span><br>
<button onclick="close();" style="width: 100px;">确定</button>
</td>
</tr>
</table>
</div>
</logic:notEmpty>其中div里的按钮方法是function close(){
document.getElementById("message").style.display = "none";}
用的是ssh框架,为什么隐藏不了?可以显示出来,但是隐藏不了,高手帮忙看看,谢谢
解决方案 »
- 请问这段ajax错在哪里??
- 十万火急!jquery回显点击对象的css代码到textarea!!
- jquery-ui-1.8.16.custom 里面的demo在FF 和chrome里面怎么看不到效果?
- 不显示删除回复显示所有回复显示星级回复显示得分回复 如何实现图像只在一个固定区域内缩放和平移?
- 关于梅花雨日期控件的问题
- 鼠标点击更换导航菜单背景图片
- html调用JavaScript
- 请教:表格tr里的连接点击后tr的背景变为红色,当在tr里点两下鼠标后红色消失
- 如何控制弹出窗口大小?
- 请问在JS中怎么判断一个字符是中文还是数字或是其它的字符呢?还有中文算作2个字符吗?(
- 贴子加分了
- 高手来看看这段英文技术解说
别用close关键字命名
function disDiv(){}