I am new to Ajax and wondering if it is possible to create Ajax
component like following link in Rails. I am not sure how to call
this kinds of widgets. It shows bars which you can dynamically show
and hide. This seems very useful to save screen space.
I am new to Ajax and wondering if it is possible to create Ajax
component like following link in Rails. I am not sure how to call
this kinds of widgets. It shows bars which you can dynamically show
and hide. This seems very useful to save screen space.
I'm not sure if I agree with the style. All the variables need 'var ' before them. And FireBug wrecked the indentation.
Note that the code uses no Ajax. It just shows and hides DIVs based on their IDs. It switches between a visible and invisible class, "off", and this class probably says display:none inside. Ajax is more complex - it fetches new data from a server, and slips it into the page. This page just uses the common technique of sending out much more information than you see, and "accordioning" it when you need it.
New question to the group: What is the JavaScriptGenerator way to do all that?
Thank you so much for your replay. I have never thought it is a plain
JavaScript. Anything looks cool appears Ajax to me.
I did little more research based on your suggestion and following
page.