# :confirm dialog box is invoking my table row links!

**URL:** <https://www.ruby-forum.com/t/confirm-dialog-box-is-invoking-my-table-row-links/87600>\
**Category:** Rails\
**Created:** [March 4, 2007, 7:41am UTC](https://www.ruby-forum.com/t/confirm-dialog-box-is-invoking-my-table-row-links/87600 "2007-03-04T07:41:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [March 4, 2007, 7:41am UTC](https://www.ruby-forum.com/t/confirm-dialog-box-is-invoking-my-table-row-links/87600/1 "2007-03-04T07:41:32Z")

</div>

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.)
