Linked Questions

29 votes
2 answers
122k views

jQuery AJAX single file upload [duplicate]

I know this question has been asked a lot, and I tried at least 10 different codes to run this without success. I'm trying to upload a single file with jQuery.ajax(), but it doesn't work. The code ...
user3195129's user avatar
25 votes
4 answers
69k views

Pass an image through AJAX [duplicate]

Basically I want to pass a image file with ajax on submitting a form and retrieve the image and send it by email as an attachment file: Here's the form : <form role="form" action="" name="devis" ...
user3350731's user avatar
13 votes
4 answers
73k views

Send input files data with ajax [duplicate]

html markup: <input id="fileSelect" type="file" id="file" name="files[]" multiple="multiple" accept="image/*" /> I am uploading multiples files with php. I want to make an array of upload ...
Hassan Ali's user avatar
3 votes
2 answers
37k views

How to upload file using javascript? [duplicate]

<form method="post" action="#" onsubmit="uploadImage"> <input type="file" name="imgFile" > <input type="submit" id="submit" value="upload"> </form> How can I upload an ...
Sam's user avatar
  • 115
10 votes
3 answers
47k views

Passing form data and file to php using ajax [duplicate]

This might have been asked before, but i have search on here and on google and every answer I have read doesnt work. The question I have to solve is make a form with first name, last name, email and ...
Alex Clark's user avatar
9 votes
2 answers
8k views

How to use JQuery post method [duplicate]

$.post('image.php', { image:form.image.value } <form id="form" enctype="multipart/form-data"> <input type="file" id="image" name="image"/> PHP->isset($_FILES['file']) How to use $....
Ben's user avatar
  • 2,564
10 votes
3 answers
110k views

Asynchronous file upload (AJAX file upload) using jsp and javascript [duplicate]

I am planning on having asynchronous file uploads. That is the file should be uploaded to a jsp or servlet and return something to the html/jsp page without reloading the original page. It should ...
Prasanna Raghu's user avatar
4 votes
2 answers
15k views

jQuery:Sending pdf to server via ajax [duplicate]

I want to send a pdf file to server using ajax.But I couldn't find any examples or codes for this problem.How can i get the solution?Please help me
asna's user avatar
  • 242
7 votes
1 answer
8k views

Upload image with ajax, HttpPostedFileBase is null Mvc Asp [duplicate]

I must upload image before Form is submitted. So I used ajax to do it. Here is my HelpController: [HttpPost] public void AcceptUpload(HttpPostedFileBase TemporaryForLast, string ReferanceNo) { ...
DSI's user avatar
  • 279
12 votes
1 answer
8k views

send input type file value with ajax [duplicate]

i have made a form that will be send a input type file, in my server side i want to get $_FILES value so i used print_r($_FILES), but in my ajax response i don't get anything value, here my code.. &...
casper's user avatar
  • 461
13 votes
1 answer
5k views

Upload file using ajax request [duplicate]

Possible Duplicate: How can I upload files asynchronously with JQuery? I'm submiting my forms like this. var url = event.currentTarget.action; var values = $(this).serialize(); $.post(url,...
user256034's user avatar
  • 4,329
0 votes
2 answers
6k views

How to send an image through ajax post? [duplicate]

I'm trying to send some data through ajax post, I tried serializ but I keep getting an error the filename doesn't exist. Form data $('#send #submit').on('click', function(e){ e.preventDefault(); $...
user3026745's user avatar
-1 votes
1 answer
6k views

C:\fakepath\*.* in Ajax and jQuery [duplicate]

I am trying to get a document to be able to pass through some AJAX and jQuery and I just keep getting the C:\fakepath\ when attempting to pass it through. I know this is a security feature within ...
MrTechie's user avatar
  • 1,847
10 votes
2 answers
3k views

How to ajax post an image to a C# web method with jquery [duplicate]

Possible Duplicate: How can I upload files asynchronously with JQuery? I have a file upload field, after the image was selected, I make a jquery ajax post to an aspx page's page method. My ...
phteven's user avatar
  • 1,383
2 votes
1 answer
4k views

HTML5 replacement for Uploadify [duplicate]

I have been using Uploadify for several years to upload files onto our Intranet web site. It is no longer actively being supported and even their so called HTML5 version uses a Flash SWF file. ...
Connie DeCinko's user avatar

15 30 50 per page
1
2 3 4 5
39