this can't be too complex but it is baffling me - I would like to pass a variable through a url (www.site.com/index.html?var=whatever.htm) and use the variable within an onclick function so that the onclick button uses the variable as the url to go to..onclick.
I am trying to do this in place of a history button, since the button is within a frame, and clicks to other frames change what the history actually is.
I tried <input value="Go Back" onclick="parent.location(var)" type="button">
, but clearly i am missing something on how to get javascript to recognize that variable.
Thanks for any help.