I want to create an app which has a form with a list of inputs and when the focus is on an input a div appears which displays help relating to that input. For example, the user tabs onto first name and a div appears (with a scriptaculous effect) explaining why this field is required, the same will happen for surname, dob etc.
I am a total rails newbie and i'm having trouble figuring out how to do this.
Thanks in advance.



I don't see a need for the server to get involved in unhiding divs. Use an observe_field call like this:


Bookmarks