急!!!!关于表单onClick和传值的问题?在线等。。。。
<form action="updatabase.asp" method="post" name="form1" id="form1">
<table width="60%" border="1">
<caption><b>升级数据库</b></caption>
<tr>
<td>请选择升级的月份:</td>
<%
set rs1=server.createobject("ADODB.recordset")
sql="select * from xxf_date order by ymonth"
rs1.open sql,conn,3,1
%>
<td><select name="ymonth">
<%do while not rs1.eof%>
<option value="<%=trim(rs1("ymonth"))%>"><%=trim(rs1("date"))%></option>
<%rs1.MoveNext
loop
rs1.close
set rs1=nothing
conn.close
set conn=nothing
%>
</select>
<input type="button" value="新建..." onClick="window.open('adddate.asp','_self')"></td></tr>
<tr>
<td>请选择要升级的数据库:</td>
<td><label>
<input name="table_name" type="radio" value="ip" checked>
升级总表</label>
<br>
<label>
<input type="radio" name="table_name" value="ipxd">
升级详单表</label>
</td>
</tr>
<tr>
<td align="center"><input type="submit" value="添加"></td>
<td align="center"><input type="button" value="删除" onClick="window.open('admdele1.asp?ymonth='+document.form1.ymonth.options[document.form1.ymonth.selectedIndex].value+'&database='+document.form1.table_name.getElementsByName("table_name").value+'&par=manage_ip.asp&class=<%=trim(request("class"))%>&bigclass=<%=trim(request("bigclass"))%>&smallclass=<%=trim(request("smallclass"))%>','_self')"></td>
</tr>
</table>
</form>
请问“删除”的onClick到底错在那里?