[Solved] Change data-url via jquery
The data-url attribute of the input is read by the plugin when initializing. It is not automatically read afterwards. Have you tried updating the URL as follows? var fu = $(‘#fileupload’); fu.fileupload(‘option’, ‘url’, fu.data(‘url’)); Of course, this would be done after updating the data-url attribute of the element using fu.data(‘url’, ‘new-url-you-want-here’); and you could, I … Read more