Event fire bubbling

8 views
Skip to first unread message

kstubs

unread,
Sep 8, 2011, 11:33:27 AM9/8/11
to prototype-s...@googlegroups.com
Shouldn't the following fire all the way up to the document element, so:  document.on('anychart:onEventMarkerClick', ...) is valid?  Assuming this.container is some HTML element within the document.

    onEventMarkerClick: function(e) {
    var obj = {'index': this.index, 'event': e};
        Event.fire(this.container, 'anychart:onEventMarkerClick', obj, true);
    },

T.J. Crowder

unread,
Sep 8, 2011, 5:31:26 PM9/8/11
to Prototype & script.aculo.us
Hi,
WFM: http://jsbin.com/ovudod

Perhaps you can post some code that doesn't work?
--
T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com

kstubs

unread,
Sep 8, 2011, 11:38:40 PM9/8/11
to prototype-s...@googlegroups.com
Working now!  Losing my mind.. Sorry for the bother.
Reply all
Reply to author
Forward
0 new messages