`var $confirm = $(this).parents('.my-tip').find('.confirm-tip');`?  The bug you're talking about will probably focus on the last one found, and click them all.