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!
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!
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs