L
L
link002015-04-07 12:51:59
Computer networks
link00, 2015-04-07 12:51:59

Is it possible and how to make "addition of links" after the sign "?" (details inside)?

Let's say we are on the site.ru/about page. Is it possible and how to make it so that (for example) when you click on the button (button / select) the address is "complemented" (without reloading the page) and becomes site.ru/about?additional-info . I note NOT #(lattice) exactly ?(question) should be the separator!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Petrov, 2015-04-07
@Petroveg

history.pushState()
Below is history.replaceState()
Introduction to the HTML5 History API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question