add event on td and index

simple alert