> You should have a look at event delegation, currently you are attaching 2 > event on each row. So if you have a lot of rows, its memory/cpu heavy.
I agree with Olivier. Here's a resource to get you started: http://www.learningjquery.com/2008/03/working-with-events-part-1