Ricki Ricardo
Posts: 0
Joined: Fri Nov 16, 2012 9:30 am

Unexpected token >

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Unexpected token >

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

Ricki Ricardo
Posts: 0
Joined: Fri Nov 16, 2012 9:30 am

Unexpected token >

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Unexpected token >

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Unexpected token >

Hello, it's fixed.

Ricki Ricardo
Posts: 0
Joined: Fri Nov 16, 2012 9:30 am

Unexpected token >

Sounds good. Thanks.

Return to “Issues”