Im a bit confused over how to handle events between views in Backbone. Right now i have two partial views rendered at the same time on a website. Now i want one of the views to dispatch an event that the other view can listen to. How would i do that?
In the view that dispatches the event i run:
this.trigger("myEvent")
And in the view listening i run:
this.bind('myEvent', this.myFunc);
But nothing seem to happen at all.