How to pass the array of input images using jquery to php page? [duplicate]


How to pass the array of input images using jquery to php page? [duplicate]



This question already has an answer here:



I want to pass array of images or file to another php page using jquery.
here is a from




<form method="post" id="uploadForm" enctype="multipart/form-data" action="upload.php">
<label>Choose Images</label>
<input class=" w3-input" type="file" name="images" id="images" multiple >
<input type="submit" name="submit" value="UPLOAD"/>
</form>



now i want when i click submit button it should call jquery
and pass
<input class=" w3-input" type="file" name="images" id="images" multiple >
this array to another page.


<input class=" w3-input" type="file" name="images" id="images" multiple >



i searched lot.
but can't figure out how to do that



This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.





Please make an attempt to search before asking a question. This has been asked and answered a lot of times previously.
– Rory McCrossan
2 days ago





i already searched. but can't figure out how to pass multiple files your link does not fulfilling my requirement
– Sumit
2 days ago






I added another 4 duplicates for you. They all tell you the same thing, and they all work.
– Rory McCrossan
2 days ago





3rd link worked for me. thanks
– Sumit
2 days ago





Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

how to run turtle graphics in Colaboratory

Export result set on Dbeaver to CSV