3
,我写我的索引页重定向页面,而不更改URL
window.location.replace(www.mysite.com/index2.html);
重定向代码上,但它也改变URL这是显而易见的。
例如,当我跑www.mysite.com/index.html
它应该运行www.mysite.com/index2.html
页面和浏览器地址应该显示www.mysite.com/index.html
。
我想在jQuery或JavaScript中做到这一点。
我知道这可以通过经典的asp页面中的server.transfer完成。我curisos在jQuery中做到这一点。 –