I'm trying to pass a varaible via URL
<a href="www.junk. org?token=mytok en>
The problem is that mytoken gets it's value from a script
and the above gives me just what I give it, the word mytoken
mytoken=documen t.getElementsBy TagName("li")[17].innerHTML.spli t(";")[1];
Is there a way of passing the value of mytoken as the parameter?
Thanks
<a href="www.junk. org?token=mytok en>
The problem is that mytoken gets it's value from a script
and the above gives me just what I give it, the word mytoken
mytoken=documen t.getElementsBy TagName("li")[17].innerHTML.spli t(";")[1];
Is there a way of passing the value of mytoken as the parameter?
Thanks
Comment