Highlight your UI with rails
If you find yourself needing to highlight something after your Ajax call comes back and is finished. Why not highlight it? If your making a call with remote_function, link_to_remote or other then add this small line of code on. Problem solved!
[ruby]
:complete => visual_effect(:highlight, ‘theDivId’)
[/ruby]
Just give it the div or element id and it works like a charm!
Don’t know how to use remote_function? Check out this post: Using remote_function


