Hi,
I’ve the following call to link_to_remote:
<% @calendars.each do |c| %>
<%= link_to_remote 'dont show '+c.name, :url => { :action =>
‘update_calendar’, :id => c.id } %>
It shows a list with calendars.
When the user presses on the link it hides that calendar (given the id).
Fine.
But now it would be nice to replace the link by a checkbox. And the
update_calendar method would read the params[:id] and the
params[:selected] in order to show or hide a given calendar.
The problem is, I don’t have a “check_box_to_remote” method.
Can you give me some ideas on this? Or it’s not possible?
Thanks