Is it possible to upload a file using Ajax ? Reason

Answer Posted / sushovan and joydip

At first u browse the file by
<input type="file" name="file1"> then u use a link ie:
<a href="#" onclick="upload()">upload</a>
then on the upload() function u use a framework named
prototype.js
u just import the file in javascript, use this file
u can send the file path to another page after complete ur
upload into that page this framework automatically return
into prev page with html response.
.... it may be possible by that way..

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the step property of the numericupdownextender control? : asp.net ajax

486


What is json? : asp.net ajax

535


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

489


What do I need to know to create my own ajax functionality?

582


What is xmlhttprequest object in ajax? How can you xmlhttprequest object?

503






What is the basic goals of AJAX ?

574


What is the asp.net ajax framework?

500


How can we detect asynchronous partial page postbacks?

507


What are the difference between server-side ajax framework and client-side ajax framework?

630


Does ajax work with java?

591


Is it possible to use fileupload control within the update panel?

477


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 dev

519


What will happen with click of browser "back" button among asynchronous requests?

481


What are the basic controls in asp.net ajax?

502


How do we get the xmlhttprequest object?

585