3
Good afternoon, I’d like to ask for your help. 
I’m with a system where I need to send an image of a <input type="file>" for a PHP page via $.ajax() for in, I can upload this image to a suffice, while I take the path and store it in the bank via $_pdo.
I did extensive research on the internet and found several websites teaching to do, but I didn’t understand, the only things I understood was that I should use a command called formData() and pass some parameters on $.ajax().
But I didn’t understand:
- how to use the 
formData() - what parameters should I pass on 
$.ajax() - if I can pass other types of information along with the image
 - How I can store the value of an image in a 
<elemento hidden>and bring this information to the$.ajax() 
Somebody could help me?
Possible duplicate of upload without refresh with Formdata, jquery
– Guilherme Nascimento