jquery - ajax file upload -


i struggling file uploaded, processed , displayed without reloading page. use jquery file posted server properly?

 <html>   <body>   <form action="upload.php" method="post" enctype="multipart/form-data" id="uploadform">   <label for="file">filename:</label>   <input type="file" name="file" id="file" />    <br />   <input type="submit" id="submit" />   </form>    </body>   </html> 

you can putting upload form in iframe , communicating between main window , frame javascript. it's ugly it's way in browsers.

jquery file upload awesome plugin incorporates async xhr uploads , falls on iframe browsers not capable. supports drag , drop (for capable browsers) out of box. it's not simplest plug-in in world use, worth effort, covers bases.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -