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

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -