简体   繁体   中英

Trigger button click on uploadify flash object

I want to be able to trigger a click on the "Upload" button in Uploadify - the reason being I'd like to be able to choose to upload a file from a dropdown menu and hence need to call "Upload" somehow using javascript - unless anyone has another clever idea?

The following DOES NOT work:

$('#file_uploadUploader').trigger('click');

hi take alook at this link you can call some javascript function using ExternalInterface a static class and the opposit is true :

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM