swfupload动态改变参数


swfupload加载后如何动态改变传递的参数?
查找相关文章:swfupload

swfupload加载后如何动态改变传递的参数?


swfupload提供了api

在upload_start_handler中定义函数

upload_start_handler:upload_start,
function upload_start(){

    var post_params = this.settings.post_params;
    post_params.folder_tag_id = 123;
    this.setPostParams(post_params);
    
    //也可以用
    this.addPostParam("folder_tag_id2",321);
}