Ajax upload is the process of asynchronously sending files to a web server using client-side JavaScript.
Questions tagged [ajax-upload]
115 questions
2
votes
3 answers
django ajax request response
Possible Duplicate:
django file upload from json
Hi am using the following ajax upload from the template but i do not get a response from django view.What is wrong here..i do not see any alert
function ajax_upload(formid)
{
var form =…

Rajeev
- 44,985
- 76
- 186
- 285
1
vote
2 answers
JavaScript to get text input value
I have JavaScript of ajax uploader as below;
$(document).ready(function(){
var qwerty = $('#qwerty').val();
$('#demo1').ajaxupload({
url:'upload.php',
remotePath: qwerty,
maxConnections:1,
finish:function(files)
{
alert('uploaded');
…

Alfred
- 21,058
- 61
- 167
- 249
1
vote
1 answer
encoding error with ajax upload (qqfile) and paperclip
I'm trying to get an ajax upload working with rails 3.1.3 and paperclip.
I found this solution to my problem Rails 3 get raw post data and write it to tmp file, but using this, I get an 'encoding undefined conversion error "\xFF" from ASCII-8BIT to…

pedalpete
- 21,076
- 45
- 128
- 239
1
vote
0 answers
AJAX-Upload not calling onComplete when completed
NOTICE: I have read through This question which is almost the same.
I am currently uploading an image with AjaxUpload.js which works fine. The file gets uploaded BUT the onComplete never gets called.
The tutorial I followed was this one:…

Pangolin
- 7,284
- 8
- 53
- 67
1
vote
2 answers
Laravel 5.8 ajaxupload POST 419 (unknown status)
I have a problem. I want to upload img using ajaxupload but i can`t do it, i always get exception POST 419 (unknown status). I do everything using to the documentation but I have no idea.
So, my…

Sasha San
- 211
- 1
- 2
- 12
1
vote
1 answer
How to disable Ajax-upload button?
I'm trying to use this plugin http://valums.com/ajax-upload/.
I added a file-limit, I want to disable the upload button (not hide, just disable).
E.g.
if(filesNumber>=limit)
{
//Disable the "Upload a file" button
}
So, if the user will try…

Denis Monn
- 363
- 4
- 15
1
vote
2 answers
PHP - File ownership/permission issue - Uploaded file cannot be accessed/not found after it was uploaded
I am using this Simple-Ajax-Uploader plugin to upload files, then I used This PHP library to handle the processing of the files, to do things like generating random file names, resizing and specifying a directory to save the files, etc.
Here's the…

Jevison7x
- 709
- 2
- 14
- 31
1
vote
2 answers
p:commandButton refreshes entire page instead of partially whereas f:ajax works fine
I try to update a part of the page on button click.
Right now, I have the following :
template.xhtml
…

user1882509
- 21
- 1
- 3
1
vote
0 answers
Form(Outside div call through ajax) for upload file says Undefined index of file
We are using dashboard for admin purpose in which we are calling different forms on content pane through ajax call, where calling simple registration form and submitting it works but when i call form with file upload in it, it didn't work for…

Shivprasad Dhumal
- 11
- 2
1
vote
1 answer
Ajax Upload fails with Ajax Push Engine (APE server) enabled
Whenever I disable the APE comet Server, AJAX file uploads run properly. And when enabled, the response.responseText from PHP is not parsed.
This problem has been bugging me since about more than a month.
There's another person here with the same…

Hrishikesh Choudhari
- 11,617
- 18
- 61
- 74
1
vote
1 answer
A race condition between new window object and link click
I'm encountering a race condition between a new window object creation and a link click. The new window is an plugin called AjaxUpload, whose input requires a link element with unique ID. Note that AjaxUpload brings up a new window of file…

ethereal1m
- 171
- 1
- 3
- 12
1
vote
2 answers
Can not use ajax-upload because of ape comet server
First part of description is in Unsafe JavaScript attempt to access frame, when try to upload file with ajax Problem is that I get access denied error, when try to upload file with ajax-way.
After long debugging I have discovered that everything is…

Alexei
- 231
- 1
- 2
- 11
1
vote
1 answer
User Specific Uploads Django 1.7
im getting this error "NOT NULL constraint failed: myfiles_document.user_id"
what im trying to do is attach files to user ForeignKey so user can only see what they upload im using this app django-file-form here the code for the project…

KisukeUrahara
- 13
- 4
1
vote
1 answer
How to distinguish folders and files drag and drop Ajax upload in FireFox
I can not find the way to distinguish between folders and files drop in FireFox Ajax. Looks like there are no signs in FireFox FileAPI that can tell if this is a folder or a file.
However I see that Google docs somehow can distinguish between…

IT Hit WebDAV
- 5,652
- 12
- 61
- 98
1
vote
1 answer
How to upload multiple files on separate Forms by Ajax upload?
I've worked on this but couldn't fully figure out.
Basically, what I need is to upload 2 or more files separately (only on demand one by one, not all files at once) using Ajax upload. Currently, I have 2 file inputs but somehow, the JavaScript code…

E-A
- 1,995
- 6
- 33
- 47