从回调函数我怎样才能将选择器传递给主函数
$('.file_upload').uploadify({
'uploader' : 'uploadify/uploadify.swf',
'script' : 'uploadify/uploadify.php',
'cancelImg' : 'uploadify/cancel.png',
'folder' : 'uploads',
'auto' : true,
'buttonText': 'Upload a new file',
'onComplete' : function(event, ID, fileObj, response, data ) {
//alert(fileObj.filePath);
//get the uploaded file txt and add it to the textbox
console.log(fileObj.filePath);
$.get('readfile.php?file='+fileObj.filePath, function (data) {
});
// here I want to access the element the function called on
//$(this).parent().parent().find('textarea').val('this');
}
});