Is it possible to upload a file using Ajax ? Reason

Answer Posted / jay

reason why you cant (actually you can, if you specifically
set that option in Firefox) upload by just using AJAX is
that if it was possible, some malicious code could be
sending any files through ajax from your disk without your
knowledge, which would be a huge security issue.
isntead, you're using FORM posting for that.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is synchronous request in ajax?

498


What are ajax controls?

489


What is the difference between a destructor and a garbage collector?

530


What is ajax and how does it work?

539


Describe the accordionextender control?

524






Brief about ajax?

543


Is ajax a technology platform or is it an architectural style?

508


What are the tools for debugging ajax applications?

508


Difference between server-side ajax framework and client-side ajax framework?

530


What's the difference in HTML AJAX, ASP.Net AJAX?

2015


What is the xmlhttprequest object in ajax?

507


How does an ajax call work?

538


Some of the google examples you cite don't use xml at all. Do I have to use xml and/or xslt in an ajax application?

539


When should I use an java applet instead of ajax?

504


Describe the ajax design pattern.

521