Displaying 1 result from an estimated 1 matches for "calc_wins_losses_for_play".
Did you mean:
  calc_wins_losses_for_player
  
2006 Mar 23
1
Rails AJAX question, calling remote_function in a loop
...ith just links, which works fine.  It looks like this
<% @eligible_players.each do |player| %>
<tr>
<td>
<%= link_to_remote( player.player_name,
                         :update => "playerList" + player.id.to_s,
                         :url =>{ :action => 
:calc_wins_losses_for_player, :id => player.id },
                         :position => "top",
                         :complete => visual_effect(:highlight, 
"playerList" + player.id.to_s, :duration => 1) ) %>
</td>
<td id=<%= "\"playerList" + player.id.to_s + &...