Questions tagged [ajax-upload]

Ajax upload is the process of asynchronously sending files to a web server using client-side JavaScript.

115 questions
17
votes
5 answers

jquery form plugin, no error handling

It seems that there are no error handling facility in the Jquery.Form plugin, which is very frustrating. Even though the documentation says we can use the $.ajax options, I still cannot make use of the 'error' option when the server returns an…
Shaoz
  • 10,573
  • 26
  • 72
  • 100
12
votes
4 answers

Valums Ajax Uploader (Mutli) - Detect when all files are uploaded

I am using the Valums Ajax Uploader to upload a batch of files. We recently changed the code from a single-upload a multi-upload type. This has raised a problem with our code. As you can see, when the onComplete event fire, we reload the page to…
Dutchie432
  • 28,798
  • 20
  • 92
  • 109
10
votes
4 answers

IE: input type="file" multiple

How come IE 9 does not support input type="file" multiple like other browsers do?
How can I make it…
Run
  • 54,938
  • 169
  • 450
  • 748
8
votes
1 answer

Creating image from base64 string in NodeJS

I am trying to upload an image that I extract from a my canvas and post via ajax, and I have trouble creating the image file on my server side. I have following this answer: https://stackoverflow.com/a/7347358/1358670 but still I seem to miss…
Abu Romaïssae
  • 3,841
  • 5
  • 37
  • 59
7
votes
1 answer

asp.net mvc ajax upload solution?

I'm looking for good ajax upload solution. I tried to use 1) SWFUpload (it is work fine but only for one file) 2) Jquery Ajax plugin (it's not working and it doesn't support progressbar in IE) I'd like to ask you what solutions do you use for…
takayoshi
  • 2,789
  • 5
  • 36
  • 56
6
votes
1 answer

new AjaxUpload accept only image from button tag

I have here a button with an onload script. HTML SCRIPT $(function(){ var btnUpload=$('#photo_uploader'); new AjaxUpload(btnUpload, { action:…
5
votes
1 answer

Uploading a file with AngularJS and bluimp on success callback of another form

I have followed the following tutorial in order to integrate the notorious bluimp jQuery file uploader in my AngularJS project. After some research I found that in the options array, witihn the jquery.fileuploader.js file, there is an option called…
Oleg Belousov
  • 9,981
  • 14
  • 72
  • 127
5
votes
2 answers

How can restrict user to upload max 10 files at once?

I am using in my web page to upload files (using ajaxupload). It will allow user to upload multiple files at once. But I want to restrict user to select only 10 files at a time not more than that. How can I…
nrsharma
  • 2,532
  • 3
  • 20
  • 36
5
votes
2 answers

Google Chrome for IOS 6 ajax file uploading progress event doesn't work

I have a problem with xmlhttprequest file uploading progress event on Google Chrome for ios6. code already work on all desktop browsers and Safari(ios 6). also there is a problem wiht uploading mov files in google chrome (ios 6), when trying to…
5
votes
1 answer

Backbone + Rails 'Paperclip' Async Uploads

I'm implementing async photo uploads using backbone & the rails 'paperclip' gem: Questions: Do I need to use jQuery upload (or equivalent lib)? If so, do I simply override photocollection.sync to call the library? Item.rb class Item <…
pws5068
  • 2,224
  • 4
  • 35
  • 49
4
votes
1 answer

Html5 ajax file upload progress listener not triggering when upload 100% on Firefox

I am uploading files over ajax and processing images after upload. When I tried upload image files over ajax on firefox , xhr progress event not triggering my progress function when upload percent do 100% but file was uploading successfully . Google…
Mesut Tasci
  • 2,970
  • 1
  • 30
  • 36
4
votes
1 answer

qq.FileUploader: Cancel submit

I'm using the plugin qq.FileUploader. Before submitting file, I want to know if a file with the same name has already been upload. I'm using this code: var uploader = new qq.FileUploader({ element:…
FRO
  • 253
  • 1
  • 7
  • 17
4
votes
1 answer

onComplete in AjaxUpload getting before server side code hits

I am working on some legacy code which is using Asp.net and ajax where we do one functionality to upload a pdf. To upload file our legacy code uses AjaxUpload, but I observed some weird behavior of AjaxUpload where onComplete event is getting called…
Dreamer
  • 586
  • 3
  • 7
  • 23
4
votes
3 answers

Python Image Uploading with AjaxUpload

I'm trying to use AjaxUpload with Python: http://valums.com/ajax-upload/ I would like to know how to access the uploaded file with Python. On the web site, it says: * PHP: $_FILES['userfile'] * Rails: params[:userfile] What is the Syntax for…
3
votes
2 answers

XMLHttpRequestProgressEvent.total totalSize giving wrong value

I am listening on xhr.onprogress request.onprogress = function(e){ return conf.progress ? conf.progress(e) : null; }; where conf.progress is function(e){ var position = e.position || e.loaded; var total = e.totalSize || e.total; …
Neel Basu
  • 12,638
  • 12
  • 82
  • 146
1
2 3 4 5 6 7 8