解决方案 »

  1.   

     
    test.upload = function() {
        this.dataId = "dataMain";
    };
     
    test.upload.prototype = {
        var self = this;
        uploadChange = function(){
            $("#IFrame1").load(function() {
             
                alert(self.dataId);
                //.....   
            }
        }
    }
      

  2.   

    谢谢拉
    $.proxy(this.xxx, this) 这个也可以