Zennoposter : Own Javascript not working

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

Rohan

Пользователь
Регистрация
21.11.2015
Сообщения
78
Реакции
0
Баллы
6
Hey, trying this snippet in zennoposter on the own javascript segment. It just doesn't work !
Please help, going mad :(

var doc = document.getElementsByClassName('list-view-item ui-selected');
var classname = doc[0].className;
classname;
 
Do you run script locally or on page?
 
I too am having similar problems with JS not working. I fully tested the script is Chrome debugger and it works flawlessly. Bring it over to ZP and its a different story altogether.
 

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