Dynamically set the two parameter values of server and fileVal in WebupLoader, how to do it, and solve the problem.

initialize upload cha"jian

uploader = WebUploader.create({
                    // 
                    auto: false,
                    //
                    fileVal:"uploadRaw",   
                    // swf
                    swf: "/webuploader/Uploader.swf",
                    // 
                    server: "/back/raw/upload.do",
                    // 
                    pick: "-sharpfilePicker",
                    // 
                    accept: {
                        title: "Images",
                        extensions: "gif,jpg,jpeg,bmp,png",
                        mimeTypes: "image/*"
                    },
                    fileNumLimit: 5, //
                    fileSingleSizeLimit: 2048000, 
                    // image, jpeg
                    resize: false
                });

then I want to dynamically set the values of server and fileVal before uploading

RAW_UPLOAD.upload = function () {
           
           //server
           //fileVal    
            uploader.upload();
    });

how to do it, or can it be set dynamically? I don"t see the corresponding method in the API document. Please take a look at it

.
Aug.28,2021

uploader.stop ();
uploader.options.server =''/ / the address you want to change
uploader.upload ()

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e41344-4c01f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e41344-4c01f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?