사용자가 업로드 폴더를 변경할 수 있도록 실험 중이므로onUploadStart를 사용하고 document.ready 및 intializing uploadify 후 일부 값을 변경하는 설정을 사용하려고합니다. 하지만 나는이 오류를 uploadify의 설정 기능에서 계속 사용하고있다.설정, formdata 또는 업 로더 값이 정의되지 않았습니다. swfuploadify가 정의되지 않았습니다.
swfuploadify.settings는 정의되지 않았다. IE11 및 F12 디버그 사용
그래서 디버그를 사용하여 설정 한 값을 볼 수 있기 때문에 swf flsh 개체가 아직 초기화되지 않은 것으로 판단됩니다.
아니면 여기서 보트를 놓치고 있습니까?
$('[id*="_fu_Preview_Container_Upload_Images"]').uploadify({
'swf': 'uploadify.swf',
'uploader': 'fileUploader.ashx?type=images&fP=' + escape(folderPath),
'buttonClass': 'uploadify-button',
'buttonText': 'SELECT IMAGE',
'fileSizeLimit': 0,
'fileTypeDesc': 'Pictures',
'fileTypeExts': '*.jpg; *.gif; *.png;',
'onUploadStart': function (file) {
var uploadifyPath = $('[id*="_ddl_PC_UploadP_SelectFolder_Field"] option:selected').val();
$('[id*="_fu_Preview_Container_Upload_Images"]').uploadify('settings', 'uploader', escape(uploadifyPath), true);
$('[id*="_fu_Preview_Container_Upload_Images"]').uploadify('settings', 'formdata', {
'uploadPath': escape(uploadifyPath)
}, true);
},
'onSWFReady': function() {
},
'onUploadSuccess': function (file, data, response) {