Page 1 of 1

Unexpected token >

Posted: Fri Dec 21, 2012 12:33 pm
by Ricki Ricardo

I wrote this code
$('table[name="resultsGrid"]tbodytr:even').each(function() {
$(this).addClass('even');
});

and recieved error

Uncaught SyntaxError: Unexpected token

$('table[name="resultsGrid"] tbody tr:even').each(function() {
$(this).addClass('even');
});

worked.

In other programs it's worked http://jsfiddle.net/aWE6Y/2/. Could you help me


Unexpected token >

Posted: Fri Dec 21, 2012 6:03 pm
by maxkatz

Can you share the page link where this happens (make the app public)?


Unexpected token >

Posted: Sat Dec 22, 2012 10:59 am
by Ricki Ricardo

This is it.
http://project.tiggzi.com/view/1ac6a6...
If I change
$('table[name="resultsGrid"] tbody tr:even').each(function() {
via
$('table[name="resultsGrid"] tbody tr:even').each(function() {
its work normaly.


Unexpected token >

Posted: Mon Dec 24, 2012 12:31 pm
by Maryna Brodina

Hello! It's a bug. We'll fix it


Unexpected token >

Posted: Wed Jan 23, 2013 6:47 pm
by Kateryna Grynko

Hello, it's fixed.


Unexpected token >

Posted: Thu Jan 24, 2013 8:47 am
by Ricki Ricardo

Sounds good. Thanks.