title: Call view function from subview with BackboneJS
body: <p>I'd like to know if it's possible to call a view function from a subview with BackboneJS.
  If yes, how it's working? </p>
  
  <p>I want to call the function "hello" which belong to the mainView from the subview.</p>
  
  <p>Maybe if event triggering...</p>
  
  <p>Example:</p>
  
  <pre><code>var MainView = Backbone.View.extend({
  
      initialize: function() {
          this.$template = $(template);
          this.subview = new SubView();               
          this.render();              
      },
  
      render: function() {
          this.$el.html(this.$template);
          var element = this.$template.attr('id');
          this.subview.setElement('#'+element).render();
      },
  
      hello: function() {
          alert('Hello');
      }
  
  });
  
  
  var SubView = Backbone.View.extend({
  
      initialize: function() {
          this.$template = $(template);           
          this.render();              
      },
  
      render: function() {
          this.$el.html(this.$template);
          //Call view function ' hello '
          //parentView.hello();
      }
  
  });
  </code></pre>
  
  <p>Thanks!</p>