html>
<head>
</head><body>
<SCRIPT LANGUAGE=JavaScript>
function add_product(layer){
alert("dfsdf");
var tmpstr="<form action='addmessage.jsp' method=post><table width='90%' border='0' align='center'><tr>";
tmpstr += "<td width='70%'><input type='text' name='message' value='' size='60' maxlength='80'></td>";
tmpstr += "<td width='30%'><input type=submit name='finish' value='提交'></td>";
tmpstr += "</tr><table></form>";
document.all.addlayer.insertAdjacentHTML("AfterBegin",tmpstr);
}
function deletemess(){
    alert("dfsd");
    document.deletefrm.nnid.value=tmpid;
    document.deletefrm.submit();
}
function test(){
    alert("dsfsd");
}
</SCRIPT>
<form action="delmessage.jsp" name="deletefrm" method=post>
<input type="hidden" name="nnid" value=''>
</form>
<table width="90%" border="0" align="center">
  <tr>
    <td width="70%">消息内容</td>
    <td width="30%">操作</td>
  </tr>
<form action="modifymess.jsp" name="updatefrm" method=post >
  <tr>
    <td width="70%">
      <input type="text" name="message"  value="fdgdfgdf" size="60" maxlength="80" >
    </td>
    <td width="30%">
        <input type="submit" name="修改" value="修改">
        <input type="button" name="delete" onclick="test()" value="删除">
    </td>
  </tr>
</form></table>
<span id="addlayer">
</span>
<table width="90%" border="0" align="center">
  <tr>
    <td width="70%"><input type="button" name="add"  value="增加"></td>
    <td width="30%"></td>
  </tr>
</table>
</body>
</html>