title: Backbone.js multiple times events fired, how to unbind the event?
body: <p>I am running with issue. How to unbind an event in particular view. I tried <code>unbind</code>, and <code>undelegate</code> but problem is not solved.</p>
  
  <pre><code>var PostwallView = Backbone.View.extend({
      el: $("#content"),
      events: {
          'click #postinwall' : 'post message', // my events 
      },
  
      initialize: function() {
          var that = this;
          var options = {query: uni_id+"/chaid/"+currentChallenge['id']}
          var onDataHandler = function(collection) 
          { 
              //onDataHandler is working on success full api load           
              that.render();  // calling my render 
              $('#postinwall').unbind('click',postmessage);
  
          }
          var onErrorHandler = function(collection) 
          {  **// if api fail**
              var errorstring = JSON.stringify(collection);
              console.log(errorstring);
          }
  
          this.model = new CommentinfoModel(options);  
          // this model to fetch the data from api if api success then i am call onDataHandler and inside render ()
  
          this.model.fetch({ success : onDataHandler,error:onErrorHandler,dataType: "json"});
      },
  
      render: function() {
          $('.nav li').removeClass('active');
          $('.nav li a[href="'+window.location.hash+'"]').parent().addClass('active');
          var data = {
              cinfo: this.model.toJSON(),
              _: _
          };
          var compiledTemplate = _.template( PostwallTemplate,{  data :  data });
          this.$el.html(compiledTemplate);
      },
  
      postmessage: function(e){   // bind event fire more than on time when i am coming from   some other event to call this events . 
          if ($('#txt').val() == '') {
              alert('post not be empty!');
          }
          else {                                                               
              alert("here");
              e.preventDefault();                           
          },               
      });
  
      return PostwallView;
  });
  </code></pre>