D
D
Danil K.2019-06-13 15:58:07
HTML
Danil K., 2019-06-13 15:58:07

Passing parameter from url to link url on page?

Good afternoon!
There is a link to a site with a parameter like example.com/page?param=value and on this page there are buttons with links to other pages. How to pass them the values ​​of the parameter of the page from which the user navigates?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Usachov, 2019-06-13
@rockfeeler

Parse the line before the transition, apparently. And substitute new parameters in the link. Through js it is window.location.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question