By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,133 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,133 IT Pros & Developers. It's quick & easy.

file upload in AJAX Javascript

P: n/a
Hello, I am writing a web app that collects some user input and an
optional image filename. When the user clicks submits, I use an
asynchronous XML HTTP call to a backend asp.net handler to process the
input. I have not been able to figure out clean way to upload a file
in this setup - Can someone offer some help?

thanks,
Simon

Oct 22 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Simon,

ka*****@gmail.com wrote:
Hello, I am writing a web app that collects some user input and an
optional image filename. When the user clicks submits, I use an
asynchronous XML HTTP call to a backend asp.net handler to process the
input. I have not been able to figure out clean way to upload a file
in this setup - Can someone offer some help?
The Yahoo! UI AJAX library has a hidden iframe trick that allows file
upload in an AJAX-y kind of way. Perhaps it will give you the clues you
need to implement your own solution.

http://developer.yahoo.com/yui/connection/

Peter

Oct 22 '06 #2

P: n/a
Peter Michaux <pe**********@gmail.comwrote:
The Yahoo! UI AJAX library has a hidden iframe trick that allows file
upload in an AJAX-y kind of way. Perhaps it will give you the clues you
need to implement your own solution.

http://developer.yahoo.com/yui/connection/

is their a way with ajax to save a file on the user desktop ?
Oct 22 '06 #3

P: n/a
Une Bévue said the following on 10/22/2006 2:07 PM:
Peter Michaux <pe**********@gmail.comwrote:
>The Yahoo! UI AJAX library has a hidden iframe trick that allows file
upload in an AJAX-y kind of way. Perhaps it will give you the clues you
need to implement your own solution.

http://developer.yahoo.com/yui/connection/


is their a way with ajax to save a file on the user desktop ?
Not with ajax, not with comet, not with borax. You need user interaction
to do that.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.