0 / 0 / 0
Регистрация: 03.06.2013
Сообщений: 29
1

Uncaught TypeError: Cannot read property 'order' of undefined

06.06.2017, 08:22. Показов 1513. Ответов 1
Метки нет (Все метки)

Javascript
1
2
3
4
5
6
7
8
9
10
11
orderBy: function(event, container, element){
            var id = 'id-' + this.getID(container);
 
        /*  if (!this.list|| !this.list[id]) throw new Error('RokSprocket strips: strips class not available'); */
 
            var orderBy = element.get('data-strips-orderby');
            this.strips[id].order(orderBy/*, null, function(callback){}*/);
 
            container.getElements('[data-strips-orderby]').removeClass('active');
            if (orderBy != 'random') element.addClass('active');
        },
Подскажите что тут не так
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
06.06.2017, 08:22
Ответы с готовыми решениями:

Uncaught TypeError: Cannot read property 'value' of undefined
Не могу понять в чем проблема выдает ошибку Uncaught TypeError: Cannot read property 'value' of...

Uncaught TypeError: Cannot read property 'createRange' of undefined
Вроде б все просто, но не работает function AddTags(Tag,Tag2) { document.forma.content.focus();...

Uncaught TypeError: Cannot read property 'elements' of undefined
Только начал изучать и сразу тормоз... оШИБКА: Uncaught TypeError: Cannot read property 'elements'...

Ошибка Uncaught TypeError: Cannot read property 'toggle' of undefined
В js файле есть код: $( document ).ready(function() { var value = $("#s_theme").text(); var...

1
Эксперт JS
2424 / 1733 / 622
Регистрация: 11.07.2016
Сообщений: 4,011
06.06.2017, 09:39 2
Судя по ошибке в теме, this.strips[id] на 7й строке возвращает undefined.
0
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
06.06.2017, 09:39
Помогаю со студенческими работами здесь

Ошибка Uncaught TypeError: Cannot read property 'offsetX' of undefined
Не могу избавиться от ошибки Uncaught TypeError: Cannot read property 'offsetX' of undefined в...

Как справиться с ошибкой в js : Uncaught TypeError: Cannot read property 'style' of undefined
Не понимаю как правильно описать действия со сменой значения display : <script...

Метод split - выдается ошибка Uncaught TypeError: Cannot read property 'split' of undefined
Вот кусок кода CheckLinkText: function(val, f){ if(!$('#attach_lnk_stared').val()){...

Uncaught TypeError: Cannot read property 'style' of null
Доброго времени суток! Есть список, и две кнопки, по нажатию на одну из них список уезжает влево и...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
2
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2023, CyberForum.ru