You can do this with a span as well

<!--- OUTPUT THE ADD NEW IMAGE FORM --->
<cfelseif IsDefined("upload")> - Action you defined on your submit button...

    <script>
        image1 = new Image();
        image1.src = "/Images/Progress-Meter.gif";

        function changeOn(){
            document.getElementById("uploadImage").innerHTML = "<img
src=\"/Images/Progress-Meter.gif\">";
            document.frmAddImage.btnSubmit.disabled = true;
            document.frmAddImage.btnSubmit.value = "Uploading STUFF..."
        }
    </script>
</cfif>

    <cfform normal form stuff here with ---  onsubmit="changeOn();">

Now when your form starts to run a span with the following will display with
the image

<span id="uploadImage"></span>



On 8/24/06, Robert Feyerherm <[EMAIL PROTECTED]> wrote:
>
> Brian,
>
> What if you took your upload form, had that target set to submit to a
> hidden IFRAME, and then add an event to your OnSubmit of your form which
> would show an 'uploading' progress image...then in your hidden iframe's
> page have it run some javascript to relocate the parent window after it
> loads (which means the files is done uploading) ?? Sound like a
> possibility?
>
> -Robert
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250976
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to