Reputation: 7599
i am using the uploadify plugin and was wondering, can it be used as invisible object? which means keeping it invisible and controlling it by jquery code only, like opening the file dialog, starting the upload - or does it need to be visible for clicking on it?
Upvotes: 0
Views: 134
Reputation: 66191
No – the File Dialog can only be opened as a result of a user event (in this case click) inside the Flash document. You cannot trigger this from JavaScript. – This is due to the Flash security model surrounding the File System.
Upvotes: 1
Reputation: 10407
If you want it hidden then is uploadify necessary? You can take a look at this "ajax" like file upload with iframes which can be easily hidden
http://www.openjs.com/articles/ajax/ajax_file_upload/
Upvotes: 1