Ruby on Rails Saturday, May 1, 2010

Hi,

I have a drop down menu that contains a set of menu items. Each menu
item is planned to make ajax call to change the content of the page when
it's clicked. I used link_to_remote successfully to make the ajax call
and update the specific div

However, After clicking the menu item, the menu doesn't close, and it
remains open. The contents already changed in the background, but the
menu is still open, which hides a part of the page.

Any help?
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment