I have a page that displays random pics dependant on a variable, such as picpage.asp?cat=fish, picpage.asp?cat=bird, etc. The pages needs a refresh link so with the click on the link the page is refreshed but different random images are shown. What I need to do is add the variable to the end of this window.location.pathname so it refreshes with the specified ...
well it should be saying mailto: ?subject=xxxxxxxxx&body=http://www.sitename.com/page.htm?id=100 but its writing mailto: ?subject=xxxxxxxxx&body=thisurl - like the title says, its writing in the var name and not its contents. I know the script works, its just when I try to put the "thisurl" var into the link it stops working. If I just document.write(thisurl) I get what I want.