I have an array of File's:
var images = [];
How can I create a valid input and sent to server using Javascript such as:
<input type="file" multiple="multiple" value="{my images array}">
It needs to be done via JS with AJAX. The HTML input does not exist, so i need to create it in js. The question how to assign my images array to input's value attribute assuming that images array is not empty?
imagesis empty. Should it be? If so where does{my images array}come from?