如何在DIV框加一个关闭按钮?? 显示上层嘛 就把zIndex设置大点嘛 比如:100000 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 关闭窗体<div id='error'>错误信息:<input type='button' onclick='document.getElementById("error").style.display="none";' value='关闭本窗体'></div> <div id="error" style="position: absolute; z-index: 10000; display: none;"> <div id='Div1'> <table> <tr> <td> 错误信息: </td> <td> <input type=button onclick="CloseErr();" value="关闭"> </td> </tr> </table> </div> <table> <tr> <td> 错误信息! </td> </tr> </table> </div> <script> function CloseErr() { error.style.display="none"; } function OpenErr() { //打开的位置 } </script> Js 调用VC函数,VC函数是有参数的,该怎么传递 求一个计算时间差的function javascript有办法知道一共几张图片载入失败吗 GB2312编码乱码的问题 再次开贴提问,不相信在csdn里面,这个问题都得不到解决 如何让自己的导航菜单不被上网助手屏蔽???? 如何用js建立一个winsock连接 如何判断对象是否存在? 如何用javascript生成一个新的excel,word文件呀 能获得鼠标的按下与释放的消息吗? 修改SELECT中OPTION被选中问题 函数中的变量应用在对象中
<div id='error'>
错误信息:<input type='button' onclick='document.getElementById("error").style.display="none";' value='关闭本窗体'>
</div>
<div id="error" style="position: absolute; z-index: 10000; display: none;">
<div id='Div1'>
<table>
<tr>
<td>
错误信息:
</td>
<td>
<input type=button onclick="CloseErr();"
value="关闭">
</td>
</tr>
</table>
</div>
<table>
<tr>
<td>
错误信息!
</td>
</tr>
</table>
</div>
<script>
function CloseErr()
{
error.style.display="none";
}
function OpenErr()
{
//打开的位置
}
</script>