Link_to_remote sho sign whilst waiting for return of data

hi,

im using link_to_remote, how can i display a waiting sign or some
progress bar to show that the process is taking place?

Thanks

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.