showModalDialog的问题!
我用showModalDialog函数打开一个页面
这个页面的作用的读取一个文件夹里的所有图片,并显示出来
这个页面的内容是这样的
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<%
set filesys=server.CreateObject("scripting.filesystemobject")
set file_folder=filesys.getfolder(server.MapPath("upfile"))
set folder1=file_folder.files
for each each_file in folder1
if each_file.name<>"Thumbs.db" then%>
<img src="<%="upfile/"+each_file.name%>" width="70" onClick="window.returnValue='<%="http://"&request.servervariables("server_name")+"/sl/admin/upfile/"+each_file.name%>';window.close()">
<%
end if
next
%>
</body>
</html>
现在问题是我想这个文件夹加了图片之后,再用showModalDialog打开上面这个页面,奇怪的是它没有更新,还是原来的那些图片,新加进去的显示不出来
只有我在浏览器里直接打开上面这个页面之后,在用showModalDialog函数打开她又找到了新的图片
郁闷中ing...