i do that cuz in ur events handler of table u use the same for the click event in tr.