how can i use variable with javascript in the project maker

hsanyue

Пользователь
Регистрация
13.03.2014
Сообщения
58
Благодарностей
0
Баллы
6
I try to use
JavaScript:
window.parent.postMessage(tok:{-variable.xxxx-},"https://abc.com")
but it seems that the variable not available in the code.
any suggestion?
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 269
Благодарностей
5 853
Баллы
113
variable should have value at the moment when you execute code
also, it depends on when you execute script - locally or on webpage
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)