I initialize a UI element with FineUploader, however I dont have a good way to keep a reference. I want to update say something like the URL being used by it, but how can I do this from grabbing the element again like below? It should just update the option and not the entire uploader again.
$(element).fineUploader({ url: 'oldUrl']);
$(element).fineUploader({ url: 'newurl']); // <--- Possible?
If you want to change a parameter after initializing the plug-in, you must do so via one of the API methods. For example, to change the endpoint url: uploader.setEndpoint(newUrl);
or if you are using the jQuery plugin wrapper: $(element).fineUploader('setEndpoint', newUrl);
.