how can i use variable with javascript in the project maker

  • Автор темы Автор темы hsanyue
  • Дата начала Дата начала

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?
 
variable should have value at the moment when you execute code
also, it depends on when you execute script - locally or on webpage
 

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