日期:2014-05-17 浏览次数:21083 次
Response.write "<script type='text/javascript'>window.history.back()</script>"
------解决方案--------------------
1、用 iframe ,把你要跳转执行的页面扔到里面
2、用 ajax ,做无刷更新
------解决方案--------------------
3、使用动态添加 <script> 标签,使其 src 指向你要执行的页面
------解决方案--------------------
方法一:
window.location.href="B.asp?COIndex="+number; 换成下边代码
<script>
var ifr = document.createElement('iframe');
ifr.setAttribute('border','0');
ifr.setAttribute('frameborder','0');
ifr.setAttribute('height','0');
document.documentElement.appendChild(ifr);
ifr.src = 'B.asp?COIndex=' + number;
</script>