link_to_remote sho sign whilst waiting for return of data

Please wait...

link_to_remote “Click Me”, :url => { :action => ‘foo’ }, :before => “Effect.Appear(‘msg’);”, :after => " Effect.Fade(‘msg’);"

You could use other events such as loading and completed if you’d prefer.

Progress bars are a lot more complex.