Forum Discussion
MartinRoss
11 years agoCommunity Member
Link to a URL held in a variable
Has anyone been able to create an onscreen link to a webpage whose URL is held in a variable? I can't get my javascript to work.
My current attempt goes like this:
var player = GetPlayer(); var...
KamilNowek
11 years agoCommunity Member
Dear Martin, there is no function called getVar - correct name is GetVar :)
MartinRoss
11 years agoCommunity Member
Aha! Thank you.
(Don'cha hate it when that happens...)
For posterity, it still didn't work first time, but this does:
var player = GetPlayer();
var win = window.open(player.GetVar("google"));
Related Content
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago