Bug Tracker

Opened 10 years ago

Closed 9 years ago

#4892 closed bug (invalid)

1.3.2 selection at select>option have bug

Reported by: twty1988 Owned by: john
Priority: major Milestone: 1.3.2
Component: selector Version: 1.3.2
Keywords: selection select option Cc: twty1988@…
Blocked by: Blocking:

Description

category is select element

1.2.6.min in IE/FF is ok $("#category > option[text=market]") if exist market $("#category > option[text=market]").length == 1

1.3.2.min IE is ok,FF exist bug $("#category > option[text=market]").length == 0 $("#category > option[text=market]") can't return option element

Change History (2)

comment:1 Changed 10 years ago by dmethvin

Component: coreselector
Owner: set to john

comment:2 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

There isn't a text attribute, use :contains() instead:

http://jsfiddle.net/dmethvin/3qCEL/

Note: See TracTickets for help on using tickets.