问题
Within a web document (http://example.com/bla.php?x=123&y=321
), is it possible to create an anchor link which goes to http://example.com/bla.php?z=111
without putting bla.php
in the anchor's href
?
回答1:
This should work:
<a href="?z=111">link</a>
来源:https://stackoverflow.com/questions/31777940/html-anchor-link-going-to-the-same-page-with-different-query-string