Now there is a form tag on the page, action="http://www.a.com", using get
Generally, the URL after we submit will be generated as "http://www.a. com?balbalbal"
Now I want to generate it as "http://www.a.com#balbalbal"
Change the search to hash.
Can it be achieved without using js?
Don’t want to use the window.open method
Pure front-end, no js, these two restrictions are too severe, it can be achieved by removing any one of the conditions.
Set anchor point, name attribute