Skip to main content

Bug Tracker

Side navigation

#3659 closed bug (invalid)

Opened November 27, 2008 04:28PM UTC

Closed November 28, 2008 09:49PM UTC

Selector selects only 1 element...

Reported by: Urn Owned by:
Priority: major Milestone: 1.3
Component: selector Version: 1.2.6
Keywords: first Cc: Urn
Blocked by: Blocking:



alert("im not always executed!");

if ( ar[ $(this).attr('name') ] )

{$(this).show("slow"); }


{$(this).hide("slow"); }


in some reason this statement executes only on first found element. but! if i make it like this

$("div[id=pc_block]").each ...

it executes on all elements on the page.

ive noticed this bug before, but only now decided to submit a ticket. and this bug can be really hard to localize...

Attachments (0)
Change History (1)

Changed November 28, 2008 09:49PM UTC by flesler comment:1

cc: → Urn
resolution: → invalid
status: newclosed

A document can't have more than 1 element with the same id, they have to be unique.