I have a simple problem. I want to add the current page's url to a link, like this:
<code>
<a href="http://www.somesite.com/somepage.aspx?a=">
</code>
After the 'a=' I need to add javascript that will return the current url. It can be the full url (example:
http://www.codingforums.com/newthrea...=newthread&f=2) or a partial one (example: /newthread.php?do=newthread&f=2).
Can someone help me with an example?