<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框架,为什么隐藏不了?可以显示出来,但是隐藏不了,高手帮忙看看,谢谢