1
So I have a url let’s imagine ...
The idea is to add a parameter or a variable to a url:
This parameter is written by the user when setting the url. The idea is then to use the parameter to define what will be displayed on the page.
What I don’t understand is: how come by putting this address...
I will look like the content that is already in:
where the url are different...
I don’t want to redirect to another page I just want to use that parameter in a script later.
?like=like
is a parameter of type GET and Urls with and without parameter point yes to the same page, this parameter is more useful if you use a server-side language– Pedro Sanção
it is possible to access the string containing
?like=like
with the javascript command:window.location.search
– Pedro Sanção