tags:

views:

53

answers:

4

Hello!

I have created a file-upload form and I want to output "filetransfer succeded" in a when the file transfer is done. This is easilly done on a normal form using Jquery and Ajax but since this is a file upload it is not possible to use ajax.

So how do I upload a file and give feedback back to the user? without creating a new webpage?

thx in advance for the help!

A: 

You can do it in an iframe.

Emil Vikström
+1  A: 

Consider looking at uploadify or swfupload.

I have personally used uploadify and you can do:

 $('input[type=file]').MultiFile({ 
  list: '#DIV to update'
 });
Gazler
+1  A: 

jQuery actually has a pretty slick plugin called uploadify that'll let you do this. Alternately the iFrame solution Emil suggested will work as well without any outside libraries.

Chris Pebble
A: 

Wow thx guy, I will definitly check out uploadify! It sounds exactly as what I am looking for!

narancha