Hi,
I'm quite new to html & I have some hyperlinks that I'm trying to use to pass a variable both to another page (frame) and also to use further down the original page (the variable lets me know which of a number of hyperlinks has been clicked).
The problem is, I can't see how to pass the variable both outside, and within the calling page (passing to another page has been no problem). I found something on the web about using 'onclick' and have tried this but with no success.
The link is as follows:
Can anyone tell me where I'm going wrong?
Many thanks, Gavin
I'm quite new to html & I have some hyperlinks that I'm trying to use to pass a variable both to another page (frame) and also to use further down the original page (the variable lets me know which of a number of hyperlinks has been clicked).
The problem is, I can't see how to pass the variable both outside, and within the calling page (passing to another page has been no problem). I found something on the web about using 'onclick' and have tried this but with no success.
The link is as follows:
Code:
<a href=" & _
chr(34) & "MainFrame.asp?System=" & rsSys("SystemName") & chr(34) & "target=" & chr(34) & _
"mainframe" & chr(34) & "><h5>onclick=" & chr(34) & parent.frames[0].location.href="SystemListFrame.asp?System=" & _
rsSys("SystemName") & chr(34) & "target=" & chr(34) & _
"systemlistframe" & chr(34) & "><h5>" & rsSys("SystemName") & "</h5></a>
Can anyone tell me where I'm going wrong?
Many thanks, Gavin