Add some data - your client.id if nothing else, to the checkbox in some way. It'll make your life easier. You can do that in a couple of ways, but the easiest is as part of the name:
<input type="checkbox" name = "chkboxRoute_<%= client.id %>">
or
<input type="checkbox" name = "chkboxRoute[]" value="<%= client.id %>">
With HTML5 you can use a separate "data-client-id" attribute or something like that.
Do you want to access the data from javascript or back in Rails? If you want the name or something else just stick it in the value or other attribute of the checkbox.
The "" stuff is extraneous, particularly if you want to just access this via javascript.
Revision based on comment below:
I would modify the html as such:
<% @clients.each do |client| %>
<tr class="client">
<td class="client_<%= client.id %> name"><%= client.name %></td>
<td class="client_<%= client.id %>phone"><%= client.phone %></td>
<td class="client_<%= client.id %>address"><%= client.address %></td>
<td class="client_<%= client.id %>pay"><%= client.pay %></td>
<td class="client_<%= client.id %>latitude"><%= client.latitude %></td>
<td class="client_<%= client.id %>longitude"><%= client.longitude %></td>
<td><input class="route" type="checkbox" name = "chkboxRoute" value="client_<%= client.id %>"></td>
</tr>
<% end %>
That makes your html a little more complex but the javascript is then simplified. Again, Chris code is solid so I won't replicate everything he's done. With the html changed thusly you can directly grab the values that you want:
$(".client input.route:checked").each(function(element) {
var client_class = $(element).val();
var client_name = $("." + client_class + " name").text();
var client_phone = $("." + client_class + " phone").text();
...
});
I just like doing something like that because it doesn't rely so much on the structure of the html.
Now, if you want to really go for the gold here's the way I would do it:
<% @clients.each do |client| %>
<tr class="client">
<td><%= client.name %></td>
<td><%= client.phone %></td>
<td><%= client.address %></td>
<td><%= client.pay %></td>
<td><%= client.latitude %></td>
<td><%= client.longitude %></td>
<td><input class="route" type="checkbox" name = "chkboxRoute" value="<%= client.id %>"></td>
</tr>
<% end %>
<script type="text/javascript">
var clients = [];
<% @clients.each do |client| %>
clients[<%= client.id %>] = {
name: "<%= j(client.name) %>",
phone: "<%= j(client.phone) %>",
....
};
<% end %>
</script>
Then, getting the values is simply a matter of this:
$(".client input.route:checked").each(function() {
var client_id = parseInt($(this).val());
var client_name = clients[client_id].name;
var client_phone = clients[client_id].phone;
...
});
You can even use a json template to put the array together if you like. Anyway, that should give you plenty to chew on.
</tr>and<% end %>backwards? Do you have jQuery available?