50分求 !!!怎么样才能弹出msgbox“提交成功”的提示框

来源:百度知道 编辑:UC知道 时间:2024/06/01 17:58:27
下面是本页的代码。希望在点击提交以后会弹出一个“提交成功!”的提示框。可是我试了好多办法都不行。
<input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置"> </td>
</tr>
</table>
</form>
<%
else
dim sql,title,content,src
sql="Select * From article"
rs.open sql,conn,1,3 '返回一个可修改的Recordset对象
title=trim(request.form("title"))
content=trim(request.form("content"))
if content="" then content="无内容" '若接收的值为空,则赋默认值
src=trim(request.form("src"))
if src="" then src="无内容"
rs.addnew '添加一条新记录
rs("title")=title '将提交的信息存入记录集对应字段
rs("content")=content
rs("src")=src
rs.update

response.write "<script language='javascript'>"
response.write "alert('搞定,登录成功!');"
response.write "this.location.href='index.asp';</SCRIPT>"

msgbox 这个不能直接运行在ASP中的,她作用在服务端,
你想,在服务端弹出窗口,那还得了,
多大的服务器都承受不起,再说,服务端的窗口给谁看呢?