That''s exactly what I ended up doing.
onSubmit="Element.hide" and page.hide as the first line in the rjs.
A bit elementary but it works.
On 7/14/06, Surendra Singhi <efuzzyone@netscape.net>
wrote:>
> Larrytheliquid <larrytheliquid@gmail.com>
> writes:
>
> > I''m using the iframe trick to upload files with form_tag and
a target
> > pointing to the iframe. All is working, but I would like to display an
> > indicator of the upload. All I want to do is show a hidden animated
gif
> via
> > Element.show. With form_remote_tag, i could use the :loading and
> :complete
> > callbacks to do an Element.show and Element.hide. How do I achieve a
> similar
> > effect with form_tag?
> >
>
> form onSubmit event might help.
>
> --
> Surendra Singhi
> http://ssinghi.kreeti.com, http://www.kreeti.com
> Read my blog at: http://cuttingtheredtape.blogspot.com/
> ,----
> | "All animals are equal, but some animals are more equal than
others."
> | -- Orwell, Animal Farm, 1945
> `----
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Respectfully:
Larry Diehl
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060717/7e347ec1/attachment.html