473,396 Members | 2,029 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,396 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 3121
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.