[Solved] How to combine page url and javascript? [closed]


give it an ID then manipulate throw javascript

<a id="a1" href="#" rel="nofollow">GoToLink</a>

<script>
document.getElementById("a1").href="http://link.cu/abc="+window.location.href; 

</script>

1

solved How to combine page url and javascript? [closed]