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

Explain the limitations of ajax? : asp.net ajax

505


Do I really need to learn javascript before ajax?

486


How does one call a javascript function from the ajax code?

568


Are there usability issues with ajax?

551


How does html_ajax compare with the xajax project at sourceforge?

521






What is the role of the scriptmanagerproxy control? : asp.net ajax

514


Describe ajax control extender toolkit? : asp.net ajax

557


What is the difference between synchronous and asynchronous requests?

504


Who is using ajax?

583


What are the requirements to run asp.net ajax applications on a server? : asp.net ajax

516


Is ajax considered a programming language?

542


What are the benefits of ajax?

532


Does ajax work with java?

602


How do I handle the back and forward buttons in ajax?

502


Does ajax have significant accessibility or browser compatibility limitations? Do ajax applications break the back button? Is ajax compatible with rest? Are there security considerations with ajax development? Can ajax applications be made to work for users who have javascript turned off?

492