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.
<a href="#" id="secondpage">Hyperlink</a>
我有超链接来加载这样的当前页面,我可以尝试在这个超链接中放置一个或多个参数吗?
例子
<a href="#?id=1" id="secondpage">Hyperlink</a>
这应该是
<a href="?id=1#" id="secondpage">Hyperlink</a>
因为#something始终是一个散列并搜索具有该值的 ID。
#something