在线求助,麻烦高手帮帮忙,在用户点提交的时候弹出一个提示框,确定就继续,取消就返回。
如题:谢谢
form name=form1 method=post action=deal.asp?id=<%=request("id")%>>
<tr>
<td valign=top><%rs.close
set rs=nothing%>
<%set rs=server.CreateObject("adodb.recordset")
sql="select * from choice where extends="&request("id")
rs.open sql,connstr
if rs.eof and rs.bof then
response.write "您还没有添加投票选项!"
else
i=1
do while not rs.eof%>
<table width=100% border=0 cellspacing=0 cellpadding=3>
<tr>
<td width=15%><div align=left>
<%
if types=true then
if rs("IsDefault")=true then
%>
<input name=choice type=checkbox id=choice value=<%=rs("id")%>>
<%else%>
<input name=choice type=checkbox id=choice value=<%=rs("id")%>>
<%end if%>
<%else
if rs("IsDefault")=true then
%>
<input type=radio name=choice value=<%=rs("id")%> checked>
<%else%>
<input type=radio name=choice value=<%=rs("id")%>>
<%end if%>
<%end if%>
</div></td>
<td width=19%><div align=left><%=rs("choice")%> </div></td>
<td width=66%><%=rs("xy")%></td>
</tr>
</table>
<%rs.movenext
loop
rs.close
set rs=nothing%>
<table width=100% border=0 cellpadding=0 cellspacing=0>
<tr>
<td><div align="center">
<input name=ids2 type=hidden id=ids2 value=<%=request("id")%>>
<input type=image src=images/button1.gif name=Submit22>
<a href=# onclick=javascript:openwin('show.asp?id=<%=request("id")%>','600','400')><img src=images/button2.gif width=50 height=20 border=0></a></div></td>
</tr>
</table></td>
</tr>
</form>