:confirm dialog box is invoking my table row links!

I’ve got a bunch of table rows consisting of the onclick method:

<%= student.last_name %>

And when I delete one of these objects with the :confirm box by
clicking “ok”, it deletes the object(which is good) but then invokes
the show method on one of the other table row objects that exists
right behind.

Anyone know of a quick fix to this minute problem? (P.S. I cannot move
the objects.)