1 to 7 of 7
Adding
'script' => true
How to write?
<%= link_to_remote '新闻信息', {:url=>{:action=>'news'},:update=>'DivContent',{:script=>true}} %>
and
<%= link_to_remote '新闻信息', {:url=>{:action=>'news'},:update=>'DivContent',:script=>true} %>
is wrong
Try this
<%= link_to_remote '新闻信息', {:url=>{:action=>'news'}},:update=>'DivContent', :script=>true %>
marvin,
There was a bug on the prototype helper. And my previous example was completelly wrong, try
<%= link_to_remote '新闻信息', :url=>{:action=>'news'}, :update=>'DivContent', :script=>true %>
1 to 7 of 7