Solved

How can I utilize chunking while still using a regular HTML form?

Posted on 2013-05-14
5
183 Views
Last Modified: 2013-11-04
I want to use a regular HTML form but possibly attach a javascript/jquery plugin to the form that will allow me to submit the uploaded media in chunks. How can I do this?
0
Comment
Question by:aristanoble
  • 2
  • 2
5 Comments
 
LVL 15

Assisted Solution

by:Jagadishwor Dulal
Jagadishwor Dulal earned 125 total points
ID: 39164029
0
 
LVL 1

Author Comment

by:aristanoble
ID: 39164775
Thanks but I do have to use the HTML form. When using the HTML form on the iPhone the browse button will allow them to upload an existing photo or take a photo with the camera. The ajax based solutions I've seen will only allow them to choose existing photos and not allow them to use their camera.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39165757
That's because HTML form code for uploading Requires a file.  If it doesn't exist as a file, you can't select it.  That's true on all computer and devices.
0
 
LVL 1

Author Comment

by:aristanoble
ID: 39166999
Thank you Dave, so can you provide any code that would utilize an HTML form but also including the chunking aspect?
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 125 total points
ID: 39167109
No, because it is not under your control or even influence.  The format of the file data is negotiated between the client and server.  It can be binary or base64 encoded as best I can tell.  These links reference the appropriate internet standard.

http://www.vivtek.com/rfc1867.html
http://www.ietf.org/rfc/rfc1867.txt
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question