[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Variable value based on clicked link
Hello,
I want to set a variable 'image'testto a value
depending on the link the user clicks.
<a href ="...."><img src="test1"></a> image =1
<a href="..."><img src="testx"></a> image=2
.
.
embedding [set var]1[/set] in the href tags does not work
as the variable is always set to the last value in the page.
I want to assign the value on click by the user (the javascript tag
onclick is already in use)
Is there a way?
Thanks
Sascha