473,320 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

File Upload using Ajax.

dmjpro
2,476 2GB
Hi Experts!

I have been working with Ajax for there four months.
But today suddenly come to my mind that if I want to upload the Image File using Ajax then what will be URL?
Could some help me?
Then please Help me!

Kind regards,
Dmjpro.
Aug 31 '07 #1
5 3118
acoder
16,027 Expert Mod 8TB
See this recent thread.
Aug 31 '07 #2
dmjpro
2,476 2GB
See this recent thread.

What I realized from this thread, it is not possible with Ajax.
Just it seems that it is being happened with Ajax.
Just a particular form is getting submitted that's why the whole page is not refreshed.
Am I right Acoder.

Kind regards,
Dmrjpo.
Aug 31 '07 #3
acoder
16,027 Expert Mod 8TB
What I realized from this thread, it is not possible with Ajax.
Just it seems that it is being happened with Ajax.
Just a particular form is getting submitted that's why the whole page is not refreshed.
It is possible using iframes. Before the XMLHttpRequest object, this was how Ajax used to work and still does. See an example.
Aug 31 '07 #4
dmjpro
2,476 2GB
It is possible using iframes. Before the XMLHttpRequest object, this was how Ajax used to work and still does. See an example.
But the Same thing is done here what I said you.
Actually using Ajax how it can be possible to send the File Data?
That's why making a small form or Iframe it is possible to submit that Form or Iframe and it seems the it's working like Ajax.
Am I right Acoder?

Kind regards,
Dmjpro.
Aug 31 '07 #5
pbmods
5,821 Expert 4TB
Heya, Dmjpro.

Since you cannot use JavaScript to open a file on the User's hard drive, there is no way to send file data via Ajax.

As Acoder mentioned, you can accomplish this by using an iFrame and disguising it as part of the same page, but this is not really AJAX. It is asynchronous in a sense, but JavaScript is not involved in sending the HTTP request.
Aug 31 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: JMB | last post by:
Hello, I was wondering if anyone knew of any projects extending the inline upload progress bar to utilize an inpage image uploader with bar, without having to refresh or go to a seperate page,...
1
by: Grzegorz ¦lusarek | last post by:
Hi all. I have situation that i use layers in my site and have to upload file from form on that layer. I try used AJAX it failed, when I do standard submit it's failed too, so I hear that solution...
6
by: Marko Vuksanovic | last post by:
I am trying to implement a file upload progress indicator (doesn't have to be a progress bar) using atlas... I do realize that the indicator cannot be implemented using Update panel control, but is...
4
by: SammyBar | last post by:
Hi all, I wonder is it possible to upload the content of an <imgfield to a server. The content of the <imgwas downloaded from a web site different from the one it should be uploaded. The image...
3
by: markus.rietzler | last post by:
i want to do (multiple) file upload(s) and display a progress bar. with firefox and safari it is no problem at all. only IE makes some problems. my script is based on ajax-uploader, which can be...
3
by: dreamznatcher | last post by:
Hello, I found a script here: http://www.webtoolkit.info/ajax-file-upload.html which supposedly allows you to upload files using AJAX (I'm not an expert). The site claims it's the best way to...
3
by: kksandeep | last post by:
i am using this three files to uplod file. i got this file from net but i think these have some error. i am new to this field plz help the script i found is some helpful but not too that i need ...
1
by: kksandeep | last post by:
i am using this three files to uplod file. i got this file from net but i think these have some error. i am new to this field plz help the script i found is some helpful but not too that i need ...
1
by: gamernaveen | last post by:
Hey guys , am just getting into the AJAX scene and am a noob. I am really worried about Ajax upload , cant figure it out. I have a basic html form , like this <form action="upload.php"...
11
by: kj | last post by:
I would like to convert a form that currently uses the traditional CGI sequence (i.e. the action associated with the form sends a POST request to a server-side CGI script) to one that uses AJAX to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.