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

What is the use of the scriptmanager control in ajax? : asp.net ajax

522


What are the components of the asp.net ajax architecture? : asp.net ajax

506


What are the advantages and Disadvantage of Ajax?

560


How do I handle the back and forward buttons?

519


Does java have support for comet style server-side push?

539






Should I use xml or text, javascript, or html as a return type?

545


Describe the process and benefits of using the always visible control extender?

534


Is it possible to set session variables from javascript?

541


What technologies are being used in ajax? : asp.net ajax

510


Define json?

525


What is the xmlhttprequest object in ajax?

519


The components in the asp.net 2.0 ajax packaging?

549


Would we be able to call server-side code from javascript?

499


What exactly is the w3c dom?

567


Is ajax a framework?

489