javascript - URL is not showing all files select by user? -


I am working on phonegap where I need to upload files and add all file names to the parameter like: < / P>

For this, I am trying this:

  function new_page () {var file3 = document.getElementById ('my_file'); Var data_file = document.getElementById ('file_handle'). Internal HTML; If (file3! = Null) {var file = document.getElementById ('my_file'). InnerHTML; File + = data_file; Window.location.href = '? job_posting.html file = '+ file; } Else {window.location.href = 'job_posting.html'; }}   

When I upload more than one file it only creates a link with 1 file that I have selected:

Like:

but it should be

I will collect additional files as a JSON string on a URL as an additional array.

then use php json_decode

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -