Skip to main content

Bug Tracker

Side navigation

#4502 closed bug (duplicate)

Opened April 07, 2009 07:35PM UTC

Closed April 11, 2009 02:56PM UTC

:enabled selector

Reported by: ultimas Owned by: john
Priority: minor Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: selector enabled disabled Cc:
Blocked by: Blocking:
Description

Hi,

I got several inputs with the same name but different types on the same page, some are type='text' and others type='hidden'.

Executing the following selector against them, jQuery returns different results in version 1.2.6 and 1.3.2:

[name='x']:enabled

1.2.6: It returns every non-disabled element, as I would expect

1.3.2: It returns only the ones of type='text'. To workaround it I used: [name='x']:not(:disabled)

Attachments (0)
Change History (2)

Changed April 07, 2009 07:41PM UTC by ultimas comment:1

Forgot to inform, I saw this behaviour on Firefox, don't know about it on IE

Changed April 11, 2009 02:56PM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Duplicate of #4013.