Hi,
I have a URL which is something like: http://www.website.com/page.shtml?ref=code1
This page loads a cookie with a value of “code1”. What I would like to do is to add the part ref=code1 to a link on an image, for example: <a href="http://www.newwebsite.com?ref=code1"><img src="image.png" /></a>
How would I do this using jQuery?
Thanks
EDIT
This post has been reformatted by enclosing the inline code with backticks
`
before and after the code.