pekebyte/pekeUpload

How to change data after initialization

Closed this issue · 1 comments

After the upload tool initializes, users can set some options for upload (e.g., overwrite existing files) and these options must be passed in the data variable. If I simply repeat the pekeUpload init, it creates a second upload button. How can I destroy the first one and replace with a second?

Well. For now I simply re-write the input control that was originally enhanced with pekeupload:
$("#peke-container").html('');