Side navigation
#5373 closed bug (worksforme)
Opened October 14, 2009 11:36AM UTC
Closed November 19, 2010 02:14AM UTC
[BUG] events: live + namespace
Reported by: | cyburk | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | event | Version: | 1.3.2 |
Keywords: | live namespace | Cc: | |
Blocked by: | Blocking: |
Description
when the "live" method is used to bind events with namespaces, all events under the same namespace will be triggered, instead of the specified event.
jQuery("div#id") .live("ns.load", function(){alert("ns.load");}) .live("ns.unload", function(){alert("ns.unload");}) .live("ns.whatever", function(){alert("ns.whatever");}); jQuery("div#id").trigger("ns.load");
This does not happen using the "bind" method.
Attachments (0)
Change History (1)
Changed November 19, 2010 02:14AM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
http://jsfiddle.net/dmethvin/WXSsp/