日期:2014-05-18  浏览次数:20811 次

js:不支持此属性或方法
点击 "彻底删除按钮 ":出现错误!脚本提示 "不支持此属性或方法 ",位置在按纽地方.

------------------------------------------------------
<%@   page   contentType= "text/html;charset=GB2312 "   %>
<%request.setCharacterEncoding( "gb2312 ");%> <!--中文处理代码-->

<html>
<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">
<title> 显示接收的邮件 </title>
<style>
</style>
<script   language= "text/javascript ">
function   delPer()
{
document.form1.action= "doMail.jsp?tag=delPer ";
document.form1.submit();
}
</script>
</head>

<body>

<form   id= "form "   action= "search.jsp "   method= "post "   name= "search ">
    <table   width= "780 "   border= "0 "   cellspacing= "0 "   cellpadding= "0 ">
        <tr>
            <td> <%=boxName%> </td>
            <td> <label>
                <div   align= "right ">
    <input   type= "hidden "   name= "boxType "   value= " <%=b%> ">    
                    <input   name= "keyword "   type= "text "   maxlength= "50 ">
                    <input   type= "submit "   name= "Submit "   value= "搜索 ">
                </div>
            </label> </td>
        </tr>
    </table>
</form>
<form   name= "form1 "   method= "post "   action= " ">
<table   width= "780 "   border= "1 "   cellpadding= "0 "   cellspacing= "0 ">
    <tr>
        <td> <table   width= "780 "   border= "0 "   cellspacing= "0 "   cellpadding= "0 ">
            <tr>
                <td   width= "678 ">
                    <label>
                        <input   type= "button "   value= "彻底删除 "   onClick= "delPer() "> //就这里
                        </label>
                                <label>
                                <input   name= "del "   type= "button "   id= "del "   value= &qu