jQuery - how to invoke the original method inside its overriden method?
<p>I have that code (a plugin initialization, <a href="https://github.com/blueimp/jQuery-File-Upload" rel="nofollow">https://github.com/blueimp/jQuery-File-Upload</a>). </p>

<pre><code>(function (factory) {
    ...
} (function ($, tmpl, loadImage) {
    var parentWidget = ($.blueimpIP || $.blueimp).fileupload;
    $.widget('blueimpUI.fileupload', parentWidget, {

        options: {
                     ...
                     fail: function (e, data) { }  &lt;-- the most interesting part
                     ...
                 }
    });
}
</code></pre>

<p>And now, I want to override the <code>fail</code> method to do some my stuff. The problem is, in that scenario some functionality of that plugin stop working (e.g. cancelling each file's upload). <strong>So, how to invoke the original method inside my overriden method ? I suppose it'd solve that problem</strong></p>

<pre><code>$('#lorem').fileupload({
    fail: function (e, data) {
        //do my stuff
        //invoke the original method, how ?
    }
}
);
</code></pre>
