Answer the question
In order to leave comments, you need to log in
How to send data from the input type="file" to a file with Ajax and from there add an image to the property of an element of type file?
or maybe it's better to download it and then get a link somehow ...
I send text type fields by
data: ({name:$('#name').val(), nomer:$('#phone').val(),
$PROP['PHONE'] = $phone;
$PROP[139][] = array('VALUE' => $select);
Answer the question
In order to leave comments, you need to log in
To send a form with js files, it is better to use formData
https://developer.mozilla.org/en/docs/Web/API/FormData
The rest of the manipulations depend only on you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question