Skip to main content

Bug Tracker

Side navigation

#14592 closed bug (notabug)

Opened November 29, 2013 12:31PM UTC

Closed December 02, 2013 03:52PM UTC

.removeClass and click method

Reported by: przemyslaw.lazarek@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

Hi,

Check this.

I use $.click method on class atribute (on element) , after click i remove class in element and .click method still work !

Here you are, a demo: http://jsfiddle.net/8JLxb/

Attachments (0)
Change History (2)

Changed November 29, 2013 02:12PM UTC by przemyslaw.lazarek@gmail.com comment:1

Tested on Chrome <newest>.

Changed December 02, 2013 03:52PM UTC by timmywil comment:2

resolution: → notabug
status: newclosed

Manipulating classes after binding the event has no effect on whether the event is bound. You can find support on stackoverflow, the jQuery forums, or in the #jquery irc channel.