Reputation: 17
How can I place the value of a variable from the URL query string (e.g., ?location=london
) into an HTML page?
I currently have been trying to do this and implemented a url parser and placed it inside the html page with this
<span id="location"></span>
near the area that I want it to belong, unfortunately this didn't seem to work.
Upvotes: 1
Views: 80