function A(a) { function B(b) { function C() { //It will do function for abort file.. }//C return Xhr; }//B }//A //on every file selection $("input[type=file]").live("change",function(){ var obj = this; xhr1 = A(obj); $(".CancelUpload").live("click",(function () { //How To call function C() for abort file; // I also tried xhr1.abort(); but it call for first cancel button not for current cancel button of file which is uploading })); });
function A(a) { function B(b) { function C() { self.Close();//It will do function for abort file.. }//C return Xhr; }//B }//A //on every file selection $("input[type=file]").live("change",function(){ var obj = this; xhr1 = A(obj); $(".CancelUpload").live("click",(function () { a().b().c() or self.close(); })); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)