Displaying 1 result from an estimated 1 matches for "loading_small".
2006 Jul 06
2
link_to_remote method display a loading image?
Hey guys,
what would be the best way to incorporate this into the builtin
link_to_remote() method?
document.getElementById(''main'').innerHTML = ''<img
src="/images/loading_small.gif">'';
Id like for the item above to take place while the page is loading.
I''m currently doing this with another javascript but would prefer to
use rails. Unfortunately, rails just sits there until the page loads.
Thank you