jscript在asp中出现问题!请教高手

来源:百度知道 编辑:UC知道 时间:2024/05/24 10:20:26
为什么我在asp中写jscript时,
window、document等对象都不好用了?
会不会是netbox的问题?
var whatsNew = open('','_blank','top=50,left=50,width=200,height=300,' +
'menubar=no,toolbar=no,directories=no,location=no,' +
'status=no,resizable=no,scrollbars=yes');
whatsNew.document.write('<center><b>更新通知</b></center>');
whatsNew.document.write('<p>最后更新日期:00.08.01');
whatsNew.document.write('<p>00.08.01:增加了“我的最爱”栏目。');
whatsNew.document.write('<p align="right">' +
'<a href="javascript:self.close()">关闭窗口</a>');
whatsNew.document.close();

把源码贴出来看一下!

注意空格就行 我以前也有这样的问题
写完ASP不要换行接着写JS

…………
if rs2.eof Then
%>document.write('还没有审核!');<%
response.end
end If
…………