Hi,

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
as:-
<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
onclick="jQuery.ajax({data:'',
success:function(request){jQuery('div_name').html(request);},
type:'post', url:'/controller/action?year=2012'}); return false;"
href="#">Q1</a>


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

--
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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedJan 12, '12 at 7:21a
activeJan 12, '12 at 7:21a
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Hemant Bhargava: 1 post

People

Translate

site design / logo © 2022 Grokbase