You are here: uploading file with "form post" and showing "please wait".. « HTML « IT news, forums, messages
uploading file with "form post" and showing "please wait"..

Posted by Nol on 05/25/05 22:40

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"
enctype="multipart/form-data">

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

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

</form>

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?

Noel

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация