@browser23authorMar 15.2015 — #What I would like to achieve is to have the href in <a href=test.link.com>test </a> taken
from the browser url.
the html souce code will look like <a href=test.link.com?extra_char>test </a>....and this will trigger a proper working code.
I am working a custom code that I can't edit its internal process so I am limited to what I can do. The vendor said the page will support javascript.
Originally I use php $_SERVER['QUERY_STRING']; to capture the url and echo this to the href part of <a></a> but since they don't support this anymore I am forced to find an alternative way of passing the url into the href link.
The souce code will show the javascript I put... <a id="pageLink">test</a> ..what I need to have <a href=https://test.com?extrachar>test </a> and this should work.
I guess if I can use javascript to replace an href.. I would like a code