I want to get variables from a URL and write it to an href, for example:
URL:
HREF:
How’s that possible using only Javascript?
I want to get variables from a URL and write it to an href, for example:
URL:
HREF:
How’s that possible using only Javascript?
document.getElementById('identifierOfLink').href = window.location.href;