Skip to main content

Search and Top Navigation

#8807 closed bug (notabug)

Opened November 11, 2012 07:47PM UTC

Closed November 11, 2012 08:09PM UTC

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;

}

}

});

});

Attachments (0)
Change History (1)

Changed November 11, 2012 08:09PM UTC by tj.vantoll comment:1

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.