Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 HTML 页面中有 3 个框架,并且框架中有一个带有提交按钮的表单。当我点击 submit 时,相应的框架被重新加载而不是整个页面。如何使整个页面导航?
把它放在你的一个框架内
<input type="Submit" onclick="parent.location.reload();" value="Submit">