title: Call the trigger method from custom javascript
body: <p>I am using the uploader control to upload a file. But I want to call a custom javascription after the upload completed. Is there any way i can specify multiple Click actions for a Button?</p>
  
  <p>Or Is there a way to invoke the Trigger methods from custom javascript?</p>
  
  <pre><code>define(["sitecore"], function (Sitecore) {
    var UploadContacts = Sitecore.Definitions.App.extend({
        initialized: function () {
        },
        uploadFile: function () {
            this.FileUploader.upload();
            // custom calls
        }
    });
  
    return UploadContacts;
  });
  </code></pre>