我这一页是新弹出的一页, 我是这么写的 if (chr(ds1("count"))>=chr(1)) then response.Write("<script>alert('您输入的数据已经存在,请不要重复输入您的数据!');history.go(-1);</script>") response.end() end if 但是回不去
新弹出的一页 不能返回的 if (chr(ds1("count"))>=chr(1)) then response.Write("<script>alert('您输入的数据已经存在,请不要重复输入您的数据!');window.close();</script>") response.end() end if 或者: if (chr(ds1("count"))>=chr(1)) then response.Write("<script>alert('您输入的数据已经存在,请不要重复输入您的数据!');window.location=opener.window.location;</script>") response.end() end if
然后复制以下代码:<a href="javascript:history.go(-1)">
我是这么写的
if (chr(ds1("count"))>=chr(1)) then
response.Write("<script>alert('您输入的数据已经存在,请不要重复输入您的数据!');history.go(-1);</script>")
response.end()
end if
但是回不去
response.Write("<script>alert('您输入的数据已经存在,请不要重复输入您的数据!');window.close();</script>")
response.end()
end if 或者:
if (chr(ds1("count"))>=chr(1)) then
response.Write("<script>alert('您输入的数据已经存在,请不要重复输入您的数据!');window.location=opener.window.location;</script>")
response.end()
end if
我不是要关闭
我想提示出错以后
能返回到前一页啊