Skip to main content

Bug Tracker

Side navigation

#15143 closed bug (notabug)

Opened June 13, 2014 11:36AM UTC

Closed June 14, 2014 01:21AM UTC

jQuery wont listen to native custom namespaced events

Reported by: toddmhorst Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:


Namespaced native custom events are not being listened to by jquery.

I believe this is a bug because without namespacing jquery will listen to native events.


I stumbled upon this as I was creating a pure js library. I chose this because nothing inherently needed jquery, so why force my user to use it when there was no need for the dependance.

That said, if they were using it, as I always do, then I wanted to provide them some examples and some extra sugar.

In doing the examples I noticed it was not working as expected. I've read multiple places on the benefits of namespacing so I would like to keep it. Doing the basic searches on google came up empty. I posted on stackoverflow

here ( but the general public couldnt provide a workaround.


Here jquery creates event and native listens (fail)



Here native creates event and jquery listens (success)



Here jquery creates namespaced event and native listens (fail)



Here native creates namespaced event and jquery listens (fail)



One Last Thing

Im guessing this last point wont be possible due to its implementation, but it would be nice if native js could listen to jquery custom events. While its use case is less obvious, I still believe there could be instances where this could be useful. If not though its not a huge deal, just let me know and I'll pursue getting the documentation updated with this small note.

Thank you for your time.

Attachments (0)
Change History (1)

Changed June 14, 2014 01:21AM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

jQuery does not attempt to trigger native events. If you'd like to suggest a documentation change at that would be fine.