JQuery AJAX download function from plugin

I use the Valums AJAX loader, but I am wondering how I can use it as a function of the type ajaxUpload(file)where the Value filecomes from an HTML file.

Basically I want to have 2 or more fields, but since the plugin creates an iframe, all inputs will have the same name! I cannot access their value when submitting a form using AJAX.

+3
source share
1 answer

You can always send additional values, provided that the plugin has provided methods. Check documents.

, jQuery $.post, ,

0

Source: https://habr.com/ru/post/1779556/


All Articles