Skip to main content

Bug Tracker

Side navigation

#10888 closed enhancement (plugin)

Opened November 24, 2011 07:37PM UTC

Closed November 24, 2011 08:23PM UTC

jQuery should allow catching a namespaced event

Reported by: Marc-André Lafortune <> Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7
Keywords: Cc:
Blocked by: Blocking:

Currently, the following won't do anything:

$(document).on("ajax", function(){ console.log("Ajax event!") })


It would be nice if binding on "ajax" (or alternatively "ajax.*") would be understood as binding to all "ajax" events, even namespaced ones (like "ajax.success", "ajax.failure", for example).


Attachments (0)
Change History (1)

Changed November 24, 2011 08:23PM UTC by dmethvin comment:1

resolution: → plugin
status: newclosed

You're welcome to create your own aliases if you'd like:

... etc ...

A plugin like that would be great! You can evangelize that usage. It's not something we can justify in core though.