uploading file with "form post" and showing "please wait"..

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hi all,

I really hope some user here got the "golden" tip for me.

I'm using the following part of code on one of my ColdFusion pages for users
to upload files. (same code example will also run in HTML)

<form name=upload_form action="upload.cfm" method="post"

filename: <input name = "file1" type= "file">

<input name="submitbutton" type="submit" value="okay">


I've been trying to get a page show an animated "please wait" gif as soon as
the user hit's "okay", but up till now no luck. (with onSubmit="dosubmit();"
and a bit of java code)
I think that it needs to be done in this 'form' code as when the upload is
done it will show the data on the "upload.cfm" file. To put the animated
"please wait" gif on the "upload.cfm" page would be to late :-)

Anyone here with a nice way of doing this?


PS.. Small note: It DOES NOT need to show the progress of the upload.. All
it needs to show is the animated gif!

Site Timeline