Hello
I wonder why this happens:
this:
<%= link_to_function image_tag(“chart_bar.png”), :onclick=>“new
Effect.toggle(‘bar-project#{project.id}’)” %>
outputs this:
a href="#" onclick=“onclicknew Effect.toggle(‘bar-project188’); return
false;”>
the link_to_funtions returns twice onclick hence it will not work.
please help