link_to_remote set the link element to <a href="#">...
which means the link items sharing same location "#", so if there are
multiple
link items in one page, as far as one of them is clicked, all the others
will
change the status to "click".
Now I am solving this problem by not using <a> tag (which means directly
using
javascript, not the link_to_remote helper) and custom define the class
for mouseover, mouseout, clicked and unclicked.
Is there any better approaches?
-Tony
--
Posted via http://www.ruby-forum.com/.