HTML页面跳转到另一个界面了但是URL不变比说 http127001 我请求 http127001下面的uphtml网页上的url还是 http127001使用iframe实现结合下面的代码给我具体的代码div class=Polaris-Stack Polaris-Stack--distributionEqualSpacing Polaris-Stack--alignmentCenter
您可以使用以下代码将页面跳转到up.html,同时保持URL不变:
<iframe src="up.html" style="display:none;"></iframe>
将此代码放置在需要进行跳转的位置,当点击该位置时,页面将加载up.html页面,并且URL仍然显示为http://127.0.0.1/。
原文地址: https://www.cveoy.top/t/topic/inrm 著作权归作者所有。请勿转载和采集!