title: How can a backbone model trigger an event from an Ajax Result?
body: <p>I have the following situation:</p>
  
  <pre><code>var Task = Backbone.Model.extend({
      initialize: function() {
      },
      save: function() {
          $.ajax({
             type    : "POST",
             url     : "/api/savetask",
             data    : this.toJSON(),
             success : function (response) {
             this.trigger("something", "payload");
             }
           });
      }
  });
  </code></pre>
  
  <p>When I run this, I get the following error</p>
  
  <blockquote>
    <p><code>this.trigger</code> is not a function</p>
  </blockquote>
  
  <p>On the external approach, I can trigger stuff.. like </p>
  
  <pre><code>var task = new Task();
  task.trigger("something","payload");
  </code></pre>
  
  <p>What I am doing wrong? or not doing :)</p>