Topic: link_to_remote helper messed up?


I have used "link_to_remote" helper quite many times as like:-
<%= link_to_remote "Q1",      :url => { :controller => "", :action =>
"", :year => 2012 }, :update => 'div_name' %> which is having source
<a onclick="new Ajax.Updater('div_name', '/controller/action?year=2012',
{asynchronous:true, evalScripts:true}); return false;" href="#">«</a>

Today also i used the same syntax and semantic, but surprised to see
that same helper is giving me different source as:- <a
type:'post', url:'/controller/action?year=2012'}); return false;"

I wondered how it came though and came to know that it is a matter of
conflicting jquery and prototype. But do not know how to resolved it as
i am using this:-
<%= javascript_include_tag :all, :recursive => true %>

Do you guys(Rubyities) have anything to give for this?

- Hemant Bhargava

Last edited by hemant.bhargava7 (2012-01-12 03:23:25)