I am trying to append a string to a url
I have a variable set:
Code JavaScript:var vLocate = "?country=1";
and I would like to append this to a link:HTML Code:<a href="/somelink.html">Click Me</a>
How can this be done? I have seen bits and pieces of code that rewrites the whole url but then it does not explain what is in the href.
Thanks,
Dan




Bookmarks