Using a Backbone.js View, say I want to include the following events:
events: { \'click a\': \'link\', \'click\': \'openPanel\' }
Each of your event handlers will be passed an event object when it's triggered. Inside your handler, you need to leverage jQuery's event.stopPropagation() method. For example:
link: function(event) { //do some stuff here event.stopPropagation(); }