Bug Tracker

Opened 16 years ago

Closed 16 years ago

#1272 closed bug (duplicate)

.is("img[@src], input[@src]") only match imgs.

Reported by: Carmine Owned by:
Priority: minor Milestone: 1.1.3
Component: core Version: 1.1.2
Keywords: is Cc:
Blocked by: Blocking:


If i use a filter like this : $(this).filter(function(index){

return $(this).is("img[@src], input[@src]"); }).hide();

The inputs are never selected.

I need to do this to have a correct selection :


return (




Change History (2)

comment:1 Changed 16 years ago by Carmine

Whooah ! Trac has stripped my two pipes. There is of course an 'or' between the to elements of the second proposal.

comment:2 Changed 16 years ago by brandon

Resolution: duplicate
Status: newclosed

I believe #977 fixes the problem.

Note: See TracTickets for help on using tickets.