Well, I canβt post all the code because it is just superfluous. But here is the problem.
I have a tabbed dialog (ui.tabs) that contains an upload form for uploading files. However, on an earlier tab, I check the status of the radio to determine if only image files or flash files are allowed.
I initialized preloading as such in advance, within $ (document) .ready:
$("#uploadify").uploadify({params});
... including the parameters 'fileDesc' and 'fileExt'. By itself, it works great. But once it has been initialized, I want to change the settings using:
$("#uploadify").uploadifySettings('fileDesc','blah blah'); $("#uploadify").uploadifySettings('fileExt','.ext');
... but when I do this, Firebug spits out the following:
document.getElementById (a (this) .attr ("id") + "Uploader"). updateSettings is not a function http: //localhost/projectname/Javascript/jquery.uploadify.v2.1.0.min.js Line 26
Now, obviously, there is nothing wrong with what you download, but I can be a complete noodle here. Is this because he thinks that '#uploadify' is not yet initialized?
David source share