Eva..
I think you can implement spinner on Ajax requests only. So you are
calling form via Ajax request you can make spinner work.
Ajit
On Mar 10, 10:56 am, Eva
<eva.hai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hello!
> Is it possible to have a spinner in form_tag?
>
> like:
>
> <% form_tag :action=> ''list'', do
>
:loading=>"Element.show(''spinner'');",
>
:complete=>"Element.hide(''spinner'');" %>
>
> ...
> ...
> <% end %>
>
> If not how could I do it?
> Thank you!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---