#13484 closed bug (notabug)
$.event.trigger no longer working with .on()
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The following code works fine in v 1.8.3 but upgrading up to v 1.9.X the event stops firing
$('#someelement').on('blaa', function(){ console.log('blaa fired'); }) $.event.trigger('blaa')
I have created a simple fiddle to see the difference between the two version
Note: See
TracTickets for help on using
tickets.
Sorry but whoever told you to use
$.event.trigger()
at all was wrong. It is not a documented interface.