I have a link inside of a table that, when clicked, removes the entire parent tr. I am using detach() for the purposes of restoring that item later ba
tr
detach()
What everyone else said, use an array. Also, move the css for odd rows into an actual css, so it respects the deleted rows.
#teams tr:nth-child(even) td { background-color : #cecece }
http://jsfiddle.net/44Qab/