Opened 10 years ago

Closed 10 years ago

#8807 closed bug (notabug)

Bug in each

Reported by: jcalled Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.core Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:

Description

good afternoon. I created several tags TR table and put. "each" to scroll through all the tags in a given class, and he simply ignores some. Refresh the page again and it ignores other results. Here is a snippet of code. I Used only jquery 1.8.2. tks

var s = false;

$('.campeonatoAtivo').each(function() {

$('tr').each(function() {

if ($(this).hasClass('oddJogo') && $(this).is(':visible')) {

$(this).hide(); if (!(jQuery.inArray($(this).attr('datejogo'), datas))) {

$(this).show(); s = true;

}

}

});

});

Change History (1)

comment:1 Changed 10 years ago by tj.vantoll

Resolution: notabug
Status: newclosed

each is a jQuery method and not part of jQuery UI. This sounds like more of a support question though. For that use the #jquery channel on Freenode or Stack Overflow. Also, you're going to need to provide some HTML for others to help you out.

Note: See TracTickets for help on using tickets.