Providing feedback to users

I have an application which does some time-consuming work after a form
is submitted.
I’d like to have a little message saying “please wait” but I’m not
sure how to implement that.

I’m thinking somehow you have to send a page to the browser from the
method that is being called by the form.
Sounds like a basic thing but I’m kind of new to RoR.

Any ideas?


It can by manage if you you using AJAX, and it’s many ways to do it,
there one:

just show some

pleas wait

on ‘ajax start’ event and hide this one on ‘ajax end’ event.

If you choose jqure ( it would look like:



Thank you. I implemented something similar to what you described and
got it to work.
Many thanks.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs