|
HTML代码:
- <a href="dingdan/down.asp?id=<%=rs(0)%>" target="_blank" onclick="Down();"><%=filename%></a>
复制代码
JS代码:
- function Down(){
- $.cookie("refresh","yes");
- if($.cookie("refresh")!="no"){
- setTimeout(function(){
- window.location.reload();
- $.cookie("refresh","no");
- },2000);
- }
- }
复制代码 |
|