Skip to main content

Bug Tracker

Side navigation

#10719 closed bug (invalid)

Opened November 08, 2011 02:23PM UTC

Closed November 08, 2011 02:53PM UTC

remove() method breaks when tag name is provided as selector

Reported by: Owned by:
Priority: low Milestone: None
Component: manipulation Version: 1.7
Keywords: Cc:
Blocked by: Blocking:


Doing $("p").remove() works just fine but doing $("div").remove("p") doesn't work.

I've also created a jsfiddle test:

Attachments (0)
Change History (2)

Changed November 08, 2011 02:50PM UTC by timmywil comment:1

component: unfiledmanipulation
milestone: None1.7.1
priority: undecidedblocker
status: newopen

Changed November 08, 2011 02:53PM UTC by timmywil comment:2

milestone: 1.7.1None
priority: blockerlow
resolution: → invalid
status: openclosed

Wait, what am I thinking. The argument to remove is a filter for the current selection, not a find.